edn/sources/appl/HighlightManager.h

51 lines
1.0 KiB
C
Raw Normal View History

/**
* @author Edouard DUPIN
2012-11-25 11:55:06 +01:00
*
* @copyright 2010, Edouard DUPIN, all right reserved
*
* @license GPL v3 (see license file)
*/
2012-11-25 11:55:06 +01:00
#ifndef __HIGHLIGHT_MANAGER_H__
#define __HIGHLIGHT_MANAGER_H__
2013-12-28 14:23:25 +01:00
#include <etk/types.h>
2012-04-24 09:42:14 +02:00
#include <appl/globalMsg.h>
2013-11-23 18:30:52 +01:00
#include <appl/Highlight.h>
#include <ewol/widget/Widget.h>
2013-10-23 21:19:30 +02:00
namespace appl {
namespace highlightManager {
/**
* @brief Init the Highlight manager
*/
void init();
2013-10-23 21:19:30 +02:00
/**
* @brief Un-Init the Highlight manager
*/
void unInit();
2013-10-23 21:19:30 +02:00
/**
* @brief Un-Init the Highlight manager
* @param[in] extention of the file
* @return type of highlight
*/
2013-11-14 21:57:10 +01:00
std::string getTypeExtention(const std::string& _extention);
2013-10-27 11:34:45 +01:00
/**
* @brief Get filename with type.
* @param[in] _type Type name of the highlight.
* @return filename of the highlight.
*/
2013-11-14 21:57:10 +01:00
std::string getFileWithTypeType(const std::string& _type);
2013-10-23 21:19:30 +02:00
/**
* @brief Get the list of extention type
* @return the requested list.
*/
std::vector<std::string> getTypeList();
2013-10-23 21:19:30 +02:00
};
};
2012-02-19 22:33:43 +01:00
#endif