Line 143... |
Line 143... |
143 |
void informPhoneState(bool call, const std::string& pnumber);
|
143 |
void informPhoneState(bool call, const std::string& pnumber);
|
144 |
void initOrientation();
|
144 |
void initOrientation();
|
145 |
#endif
|
145 |
#endif
|
146 |
#ifdef Q_OS_IOS
|
146 |
#ifdef Q_OS_IOS
|
147 |
void informBatteryStatus(int level, int state);
|
147 |
void informBatteryStatus(int level, int state);
|
- |
|
148 |
void informTPanelNetwork(bool conn, int level, int type);
|
148 |
#endif
|
149 |
#endif
|
149 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
150 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
150 |
void regCallDropSubPage(std::function<void (ulong handle)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
151 |
void regCallDropSubPage(std::function<void (ulong handle)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
151 |
void regCallPlayVideo(std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> callPlayVideo) { _callPlayVideo = callPlayVideo; };
|
152 |
void regCallPlayVideo(std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> callPlayVideo) { _callPlayVideo = callPlayVideo; };
|
152 |
void regCallInputText(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callInputText) { _callInputText = callInputText; }
|
153 |
void regCallInputText(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callInputText) { _callInputText = callInputText; }
|
Line 747... |
Line 748... |
747 |
|
748 |
|
748 |
double mScaleSystem{1.0}; // The scale factor for the system setup pages
|
749 |
double mScaleSystem{1.0}; // The scale factor for the system setup pages
|
749 |
double mScaleSystemWidth{1.0}; // The width scale factor for the system setup pages
|
750 |
double mScaleSystemWidth{1.0}; // The width scale factor for the system setup pages
|
750 |
double mScaleSystemHeight{1.0}; // The height scale factor for the system setup pages
|
751 |
double mScaleSystemHeight{1.0}; // The height scale factor for the system setup pages
|
751 |
#endif
|
752 |
#endif
|
752 |
#ifdef __ANDROID__
|
753 |
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
753 |
int mNetState{0}; // On Android remembers the type of connection to the network (cell or wifi)
|
754 |
int mNetState{0}; // On Android and IOS remembers the type of connection to the network (cell or wifi)
|
754 |
#endif
|
755 |
#endif
|
755 |
std::map<int, std::function<void (int level)> > mNetCalls; // List of callbacks for the network state multistate bargraph
|
756 |
std::map<int, std::function<void (int level)> > mNetCalls; // List of callbacks for the network state multistate bargraph
|
756 |
#ifdef Q_OS_ANDROID
|
757 |
#ifdef Q_OS_ANDROID
|
757 |
std::map<int, std::function<void (int level, bool charging, int chargeType)> > mBatteryCalls;
|
758 |
std::map<int, std::function<void (int level, bool charging, int chargeType)> > mBatteryCalls;
|
758 |
#endif
|
759 |
#endif
|