edn/sources/appl/HighlightManager.hpp

43 lines
970 B
C++
Raw Normal View History

2016-05-02 22:01:55 +02:00
/** @file
* @author Edouard DUPIN
2012-11-25 11:55:06 +01:00
* @copyright 2010, Edouard DUPIN, all right reserved
* @license GPL v3 (see license file)
*/
2016-05-02 22:01:55 +02:00
#pragma once
2016-10-03 22:01:55 +02:00
#include <etk/types.hpp>
#include <appl/globalMsg.hpp>
#include <appl/Highlight.hpp>
#include <ewol/widget/Widget.hpp>
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] _fileName name of the file
2013-10-23 21:19:30 +02:00
* @return type of highlight
*/
2017-08-28 00:09:10 +02:00
etk::String getTypeFile(const etk::String& _fileName);
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.
*/
2017-08-28 00:09:10 +02:00
etk::String getFileWithTypeType(const etk::String& _type);
2013-10-23 21:19:30 +02:00
/**
* @brief Get the list of extention type
* @return the requested list.
*/
2017-08-28 00:09:10 +02:00
etk::Vector<etk::String> getTypeList();
2013-10-23 21:19:30 +02:00
};
2016-05-02 22:01:55 +02:00
}