/** * @author Edouard DUPIN * * @copyright 2010, Edouard DUPIN, all right reserved * * @license GPL v3 (see license file) */ #ifndef __BUFFER_MANAGER_H__ #define __BUFFER_MANAGER_H__ #include #include #include namespace BufferManager { void init(void); void unInit(void); int32_t getSelected(void); appl::Buffer* get(int32_t BufferID); bool exist(int32_t BufferID); bool exist(etk::FSNode &myFile); int32_t getId(etk::FSNode &myFile); // return the number of buffer (open in the past) if 5 buffer open and 4 close == > return 5 uint32_t size(void); uint32_t sizeOpen(void); int32_t witchBuffer(int32_t iEmeElement); }; #endif