summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDConnection.h')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDConnection.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDConnection.h b/plugins/MirandaG15/src/LCDFramework/CLCDConnection.h
index 099f850ec9..9c17b81d75 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDConnection.h
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDConnection.h
@@ -11,19 +11,19 @@
class CLCDConnection
{
protected:
- bool m_bReconnect;
-
+ bool m_bReconnect = true;
+
public:
// returns the connection type
- virtual int GetConnectionType()=0;
-
+ virtual int GetConnectionType() = 0;
+
// returns a pointer to a vector of LCDDevices
virtual CLCDDevice* GetAttachedDevice(int iIndex);
// returns a pointer to the current device
virtual CLCDDevice* GetConnectedDevice();
// Initializes the connection to the LCD
- virtual bool Initialize(tstring strAppletName,bool bAutostart = false, bool bConfigDialog = false);
+ virtual bool Initialize(tstring strAppletName, bool bAutostart = false, bool bConfigDialog = false);
// Connects to the specified LCD
virtual bool Connect(int iIndex = 0);
@@ -41,7 +41,7 @@ public:
virtual bool Draw();
// Hides the applet
virtual bool HideApplet();
-
+
// returns the connections state
virtual int GetConnectionState();
@@ -71,4 +71,4 @@ public:
virtual ~CLCDConnection();
};
-#endif \ No newline at end of file
+#endif