// // kernel.h // #ifndef _kernel_h #define _kernel_h #include #include #include #include #include #include #include #include #include #include #include #include #include "miniorgan.h" enum TShutdownMode { ShutdownNone, ShutdownHalt, ShutdownReboot }; class CKernel : public CStdlibAppStdio { public: CKernel (void); ~CKernel (void); bool Initialize (void); TShutdownMode Run (void); private: // do not change this order CI2CMaster m_I2CMaster; CMiniOrgan m_MiniOrgan; }; #endif