2011-07-20 10:33:24 +02:00
|
|
|
/**
|
|
|
|
* @author Edouard DUPIN
|
2012-11-25 11:55:06 +01:00
|
|
|
*
|
|
|
|
* @copyright 2010, Edouard DUPIN, all right reserved
|
|
|
|
*
|
|
|
|
* @license GPL v3 (see license file)
|
2011-07-20 10:33:24 +02:00
|
|
|
*/
|
2012-11-25 11:55:06 +01:00
|
|
|
|
2012-03-14 09:26:14 +01:00
|
|
|
#ifndef __MAIN_WINDOWS_H__
|
|
|
|
#define __MAIN_WINDOWS_H__
|
2012-02-18 00:35:15 +01:00
|
|
|
|
2012-04-23 10:15:43 +02:00
|
|
|
#include <appl/Debug.h>
|
2012-04-24 09:42:14 +02:00
|
|
|
#include <appl/globalMsg.h>
|
2011-07-20 10:33:24 +02:00
|
|
|
|
2012-02-18 00:35:15 +01:00
|
|
|
#include <CodeView.h>
|
|
|
|
#include <BufferView.h>
|
|
|
|
#include <BufferManager.h>
|
2012-02-27 18:15:56 +01:00
|
|
|
#include <ewol/widget/Label.h>
|
2012-02-18 00:35:15 +01:00
|
|
|
|
|
|
|
class MainWindows : public ewol::Windows
|
2011-07-20 10:33:24 +02:00
|
|
|
{
|
|
|
|
private:
|
2012-02-18 00:35:15 +01:00
|
|
|
int32_t m_currentSavingAsIdBuffer;
|
2012-11-25 11:55:06 +01:00
|
|
|
widget::Label* m_widgetLabelFileName;
|
2011-07-20 10:33:24 +02:00
|
|
|
public:
|
2012-02-18 00:35:15 +01:00
|
|
|
// Constructeur
|
|
|
|
MainWindows(void);
|
|
|
|
~MainWindows(void);
|
2012-11-25 11:55:06 +01:00
|
|
|
// Derived function
|
2012-07-24 17:48:18 +02:00
|
|
|
const char * const GetObjectType(void) { return "MainWindows"; };
|
2012-11-25 11:55:06 +01:00
|
|
|
// Derived function
|
2013-03-22 21:26:06 +01:00
|
|
|
virtual void OnReceiveMessage(ewol::EObject * CallerObject, const char * eventId, const etk::UString& data);
|
2012-11-25 11:55:06 +01:00
|
|
|
// Derived function
|
2012-07-17 13:25:33 +02:00
|
|
|
virtual void OnObjectRemove(ewol::EObject * removeObject);
|
2011-07-20 10:33:24 +02:00
|
|
|
};
|
2012-03-14 09:26:14 +01:00
|
|
|
|
|
|
|
#define EDN_CAST_MAIN_WINDOWS(curentPointer) EWOL_CAST(TYPE_EOBJECT_EDN_MAIN_WINDOWS,MainWindows,curentPointer)
|
|
|
|
|
2011-07-20 10:33:24 +02:00
|
|
|
#endif
|
|
|
|
|
2012-02-18 00:35:15 +01:00
|
|
|
|