Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduConfig.h

Go to the documentation of this file.
00001 /**
00002  * @file KoduConfig.h
00003  *
00004  * @brief Kodu configuration class
00005  */
00006 
00007 #ifndef INCLUDED_KoduConfig_h_
00008 #define INCLUDED_KoduConfig_h_
00009 
00010 #include "Shared/plist.h"
00011 #include "Kodu/KoduDiscover.h"
00012 
00013 class KoduConfig : public plist::Dictionary {
00014     private:
00015         plist::Primitive<string> type;
00016         
00017     public:
00018         KoduType::player_type kodu_type;
00019         plist::Primitive<string> interface;
00020 
00021         KoduConfig() : plist::Dictionary(false), type("kodu"),
00022         kodu_type(KoduType::KODU), interface("eth0")
00023         {
00024             addEntry("type",type,"The type of the kodu character");
00025             addEntry("interface",interface,"The network interface over which to discover other characters");
00026         }
00027 
00028         virtual unsigned int loadFile(const char* filename);
00029 };
00030 
00031 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:43 2016 by Doxygen 1.6.3