neutrino: add new power manager header which adds destructor for cpu freq class.

This commit is contained in:
[CST] Bas
2012-11-13 12:41:18 +08:00
parent f0ce9aa6bb
commit 1fa9244f91

View File

@@ -26,7 +26,7 @@ public:
unsigned long GetDelta(void); unsigned long GetDelta(void);
// //
cCpuFreqManager(void); cCpuFreqManager(void);
~cCpuFreqManager();
}; };
// -- cPowerManageger ---------------------------------------------------------- // -- cPowerManageger ----------------------------------------------------------
@@ -45,7 +45,6 @@ private:
bool opened; bool opened;
PWR_STATE powerState; PWR_STATE powerState;
// //
static void ApplicationCallback(void * /*hHandle*/, void */*pUserData*/, signed long /*eEvent*/, void */*pEventData*/, void */*pTag*/) {}
bool SetState(PWR_STATE PowerState); bool SetState(PWR_STATE PowerState);
public: public:
bool Open(void); bool Open(void);