PKIFMediatorSerializer.h
Go to the documentation of this file.00001
00010 #ifndef __PKIFMediatorSerializer_H__
00011 #define __PKIFMediatorSerializer_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "PKIFMediatorSerializer.cpp"
00015 #endif
00016
00017 #include "PKIFConfigSerialization.h"
00018
00019 #include "PKIFdll.h"
00020 FD_MC_PTR();
00021 FD_SMART_PTR(CPKIFCredential);
00022
00023 CPKIFCredentialPtr PKIFCONFIGSERIALIZATION_API GetCredential(IPKIFMediatorPtr& m, const char* credBuf);
00024
00032 class PKIFCONFIGSERIALIZATION_API CPKIFMediatorSerializer
00033 {
00034 public:
00035 CPKIFMediatorSerializer(void);
00036 public:
00037 ~CPKIFMediatorSerializer(void);
00038
00039 IPKIFMediatorPtr LoadSettings(const char* application, const char* company, const char* localFile = NULL, bool useFile = false, bool bAllUsers = false, const char* pathRelToCompanyApp = NULL);
00040 void SaveSettings(IPKIFMediatorPtr& settingsToSave, const char* application, const char* company, const char* localFile = NULL, bool useFile = false, bool bAllUsers = false, const char* pathRelToCompanyApp = NULL);
00041
00042
00043
00044
00045
00046 private:
00047 };
00048
00049 #endif