equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Pritam Roy Biswas, Sasken Communication Technologies Ltd - Initial contribution |
10 * Pritam Roy Biswas, Sasken Communication Technologies Ltd - Initial contribution |
11 * |
11 * |
12 * Description: |
12 * Description: |
13 * The header represents the error code, typedefs and export macro declaration for |
13 * The header represents the error code, typedefs and export macro declaration for |
14 * CredMgr Server-client |
14 * Smf Credential Manager Server-client |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef SMFCREDMGRCLIENTGLOBAL_H |
18 #ifndef SMFCREDMGRCLIENTGLOBAL_H |
19 #define SMFCREDMGRCLIENTGLOBAL_H |
19 #define SMFCREDMGRCLIENTGLOBAL_H |
23 #include <QMap> |
23 #include <QMap> |
24 |
24 |
25 typedef QMap<QByteArray, QByteArray> SmfAuthParams; |
25 typedef QMap<QByteArray, QByteArray> SmfAuthParams; |
26 |
26 |
27 #if defined(SMFCREDMGRCLIENT_LIBRARY) |
27 #if defined(SMFCREDMGRCLIENT_LIBRARY) |
28 # define SmfCredMgrClient_EXPORT Q_DECL_EXPORT |
28 #define SmfCredMgrClient_EXPORT Q_DECL_EXPORT |
29 #else |
29 #else |
30 # define SmfCredMgrClient_EXPORT Q_DECL_IMPORT |
30 #define SmfCredMgrClient_EXPORT Q_DECL_IMPORT |
31 #endif |
31 #endif |
32 |
32 |
33 /** |
33 /** |
34 *Enumeration to represent Error occured during API call |
34 *Enumeration to represent Error occured during API call |
35 *todo- to be used later |
35 *todo- to be used later |
38 { |
38 { |
39 /** |
39 /** |
40 *No error has occured |
40 *No error has occured |
41 */ |
41 */ |
42 SmfErrNone = 200, |
42 SmfErrNone = 200, |
|
43 |
43 /** |
44 /** |
44 *Plugin not autherised |
45 *Plugin not autherised |
45 */ |
46 */ |
46 SmfErrUnAutherised, |
47 SmfErrUnAutherised, |
|
48 |
47 /** |
49 /** |
48 *Parameters of API are unexpected/invalid |
50 *Parameters of API are unexpected/invalid |
49 */ |
51 */ |
50 SmfErrBadParameter, |
52 SmfErrBadParameter, |
|
53 |
51 /** |
54 /** |
52 *Error reason is not known |
55 *Error reason is not known |
53 */ |
56 */ |
54 SmfErrUnKnown |
57 SmfErrUnKnown |
55 }; |
58 }; |