31 lines
502 B
C++
31 lines
502 B
C++
/*
|
|
* ThermalTrip.h
|
|
*
|
|
* Copyright (C) 2016 Spreadtrum Communications Inc.
|
|
*/
|
|
#ifndef THERMALTRIP_H_
|
|
#define THERMALTRIP_H_
|
|
|
|
#include <deque>
|
|
|
|
namespace android {
|
|
|
|
class ThermalAction;
|
|
|
|
class ThermalTrip {
|
|
private:
|
|
std::deque<ThermalAction*> mpActions;
|
|
int mId;
|
|
|
|
public:
|
|
ThermalTrip();
|
|
~ThermalTrip();
|
|
int getId();
|
|
void setId(int id);
|
|
std::deque<ThermalAction*>& getActionDeque();
|
|
void pushActionDeque(ThermalAction* pAction);
|
|
};
|
|
}; // namespace android
|
|
|
|
#endif // THERMALTRIP_H_
|