SPI
1.1.28
Secured Payment Interface
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
SPI.h
Go to the documentation of this file.
1
13
#ifndef __SPI__H_
14
#define __SPI__H_
15
16
#include <vector>
17
#include <string>
18
#include <cstring>
19
20
21
#include "
SPIDEF.h
"
22
#include "
Config.h
"
23
#include "
transaction.h
"
24
#include "
AshraitEMVTransaction.h
"
25
#include "
Service.h
"
26
27
using
std::string;
28
using
std::vector;
29
33
namespace
Modularity {
37
namespace
SPI {
41
class
SPI
42
{
43
44
public
:
45
51
SPILIBRARY_API
void
Start
();
52
61
SPILIBRARY_API
Service
*
AddService
(
string
ServiceName,
ServiceID
Id ,
Config
& ServiceConfig);
62
70
SPILIBRARY_API
SPI_RET_VAL
RemoveService
(
string
ServiceName);
71
77
SPILIBRARY_API
Service
*
GetServiceHandler
(
string
ServiceName);
78
83
SPILIBRARY_API
void
GetSPIVersion
(
string
&Version);
84
90
SPILIBRARY_API
void
SetLogDirectory
(
string
Directory);
91
96
SPILIBRARY_API
void
SetAndroidPackageName
(
string
Name);
97
101
SPILIBRARY_API
SPI
();
102
106
SPILIBRARY_API
~SPI
();
107
111
APIHandle
GetSPIHandle
()
const
;
112
116
void
SetWorkingDirectory
(
const
std::string & Path)
const
;
117
118
private
:
119
APIHandle
SPIHandle;
122
};
123
}
124
}
125
126
#endif
Generated by
1.8.2