From c77821d0b4b3ae09e47ce6d6ca9d6b21dbb56d30 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 4 Nov 2013 08:59:15 +0000 Subject: LCDFramework project removed, integrated to MirandaG15 project git-svn-id: http://svn.miranda-ng.org/main/trunk@6767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../MirandaG15/src/LCDFramework/CLCDConnection.cpp | 173 +++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 plugins/MirandaG15/src/LCDFramework/CLCDConnection.cpp (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDConnection.cpp') diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDConnection.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDConnection.cpp new file mode 100644 index 0000000000..cee754739c --- /dev/null +++ b/plugins/MirandaG15/src/LCDFramework/CLCDConnection.cpp @@ -0,0 +1,173 @@ +#include "stdafx.h" +#include "CLCDConnection.h" + +//************************************************************************ +// Constructor +//************************************************************************ +CLCDConnection::CLCDConnection() +{ + m_bReconnect = true; +} + +//************************************************************************ +// Destructor +//************************************************************************ +CLCDConnection::~CLCDConnection() +{ +} + +//************************************************************************ +// Initializes the connection to the LCD +//************************************************************************ +bool CLCDConnection::Initialize(tstring strAppletName,bool bAutostart, bool bConfigDialog) +{ + return false; +} + +//************************************************************************ +// Closes the connection with the LCD +//************************************************************************ +bool CLCDConnection::Shutdown() +{ + return false; +} + +//************************************************************************ +// Update function +//************************************************************************ +bool CLCDConnection::Update() +{ + return false; +} + +//************************************************************************ +// returns the connections state +//************************************************************************ +int CLCDConnection::GetConnectionState() +{ + return DISCONNECTED; +} + +//************************************************************************ +// Returns the state of the specified Button +//************************************************************************ +bool CLCDConnection::GetButtonState(int iButton) +{ + return false; +} + +//************************************************************************ +// returns the id of the specified button +//************************************************************************ +int CLCDConnection::GetButtonId(int iButton) { + return 0; +} + +//************************************************************************ +// Hides the applet +//************************************************************************ +bool CLCDConnection::HideApplet() +{ + return false; +} + +//************************************************************************ +// Draws the specified bitmap on the LCD +//************************************************************************ +bool CLCDConnection::Draw() +{ + return false; +} + +//************************************************************************ +// Temporarily brings the applet to foreground +//************************************************************************ +void CLCDConnection::SetAlert(bool bAlert) +{ +} + +//************************************************************************ +// Activates the applet on the LCD +//************************************************************************ +void CLCDConnection::SetAsForeground(bool bSetAsForeground) +{ +} + +//************************************************************************ +// returns wether the applet is currently activated +//************************************************************************ +bool CLCDConnection::IsForeground() +{ + return false; +} + +//************************************************************************ +// Returns the display size +//************************************************************************ +SIZE CLCDConnection::GetDisplaySize() +{ + SIZE size; + size.cx = 0; + size.cy = 0; + return size; +} + +//************************************************************************ +// Returns the number of buttons for the display +//************************************************************************ +int CLCDConnection::GetButtonCount() +{ + return 0; +} + +//************************************************************************ +// Returns the number of available colors +//************************************************************************ +int CLCDConnection::GetColorCount() +{ + return 0; +} + +//************************************************************************ +// Get the pointer to the pixel buffer +//************************************************************************ +PBYTE CLCDConnection::GetPixelBuffer() +{ + return NULL; +} + +//************************************************************************ +// Get the pointer to the pixel buffer +//************************************************************************ +CLCDDevice* CLCDConnection::GetAttachedDevice(int iIndex) +{ + return NULL; +} + +//************************************************************************ +// Connects to the specified LCD +//************************************************************************ +bool CLCDConnection::Connect(int iIndex) { + return false; +} + +//************************************************************************ +// Connects to the specified LCD +//************************************************************************ +bool CLCDConnection::Disconnect() { + return false; +} + +//************************************************************************ +// Toggles the automatic reconnection +//************************************************************************ +void CLCDConnection::SetReconnect(bool bSet) { + m_bReconnect = bSet; +} + +//************************************************************************ +// returns a pointer to the current device +//************************************************************************ +CLCDDevice* CLCDConnection::GetConnectedDevice() { + return NULL; +} \ No newline at end of file -- cgit v1.2.3