00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef HxRegistryImporter_h
00012 #define HxRegistryImporter_h
00013
00014 #include "HxRegistry.h"
00015
00016 class HxRegistryImporter
00017 {
00018 public:
00019 HxRegistryImporter(HxString fileName);
00020 HxRegistryImporter(const char* argv[]);
00021 HxRegistryImporter(HxRegistry&, HxString fileName);
00022 HxRegistryImporter(HxRegistry&, const char* argv[]);
00023 };
00024
00025 inline
00026 HxRegistryImporter::HxRegistryImporter(HxString fileName)
00027 {
00028 HxRegistry::instance().import(fileName);
00029 }
00030
00031 inline
00032 HxRegistryImporter::HxRegistryImporter(const char* argv[])
00033 {
00034 HxRegistry::instance().import(argv);
00035 }
00036
00037 inline
00038 HxRegistryImporter::HxRegistryImporter(HxRegistry& registry, HxString fileName)
00039 {
00040 registry.import(fileName);
00041 }
00042
00043 inline
00044 HxRegistryImporter::HxRegistryImporter(HxRegistry& registry, const char* argv[])
00045 {
00046 registry.import(argv);
00047 }
00048
00049 #endif