[DEV] start rework on shared pointer
This commit is contained in:
@@ -25,20 +25,20 @@ class MainWindows : public ewol::widget::Windows {
|
||||
MainWindows();
|
||||
~MainWindows();
|
||||
private:
|
||||
appl::BufferManager* m_bufferManager; //!< handle on the buffer manager
|
||||
ewol::object::Shared<appl::BufferManager> m_bufferManager; //!< handle on the buffer manager
|
||||
/**
|
||||
* @brief Display a pop-up to the select the name of the file.
|
||||
* @param[in] _buffer Buffer that might be saved with a new name.
|
||||
*/
|
||||
void saveAsPopUp(appl::Buffer* _buffer);
|
||||
void saveAsPopUp(const ewol::object::Shared<appl::Buffer>& _buffer);
|
||||
/**
|
||||
* @brief Display a pop-up to the user to confirm wat he want to do when he close a file not saved.
|
||||
* @param[in] _buffer Buffer that might be close.
|
||||
*/
|
||||
void closeNotSavedFile(appl::Buffer* _buffer);
|
||||
void closeNotSavedFile(const ewol::object::Shared<appl::Buffer>& _buffer);
|
||||
public: // Derived function
|
||||
virtual void onReceiveMessage(const ewol::object::Message& _msg);
|
||||
virtual void onObjectRemove(const ewol::object::Shared<ewol::Object> _removeObject);
|
||||
virtual void onObjectRemove(const ewol::object::Shared<ewol::Object>& _removeObject);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user