2016-05-02 22:01:55 +02:00
|
|
|
/** @file
|
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
|
|
|
*/
|
2016-05-02 22:01:55 +02:00
|
|
|
#pragma once
|
2011-07-20 10:33:24 +02:00
|
|
|
|
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>
|
2011-07-20 10:33:24 +02:00
|
|
|
|
2013-10-23 21:19:30 +02:00
|
|
|
namespace appl {
|
|
|
|
namespace highlightManager {
|
|
|
|
/**
|
|
|
|
* @brief Init the Highlight manager
|
|
|
|
*/
|
2014-05-15 21:37:39 +02:00
|
|
|
void init();
|
2013-10-23 21:19:30 +02:00
|
|
|
/**
|
|
|
|
* @brief Un-Init the Highlight manager
|
|
|
|
*/
|
2014-05-15 21:37:39 +02:00
|
|
|
void unInit();
|
2013-10-23 21:19:30 +02:00
|
|
|
/**
|
|
|
|
* @brief Un-Init the Highlight manager
|
2014-10-09 21:23:19 +02:00
|
|
|
* @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
|
|
|
}
|
2011-07-20 10:33:24 +02:00
|
|
|
|