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

Origin commit data
------------------
Commit: 1fa9244f91
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2012-11-13 (Tue, 13 Nov 2012)
This commit is contained in:
[CST] Bas
2012-11-13 12:41:18 +08:00
parent be1feda478
commit 22cf2d5e09

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);