43 lines
962 B
C++
43 lines
962 B
C++
/** @file
|
|
* @author Edouard DUPIN
|
|
* @copyright 2010, Edouard DUPIN, all right reserved
|
|
* @license GPL v3 (see license file)
|
|
*/
|
|
#pragma once
|
|
|
|
#include <etk/types.h>
|
|
#include <appl/globalMsg.h>
|
|
#include <appl/Highlight.h>
|
|
#include <ewol/widget/Widget.h>
|
|
|
|
namespace appl {
|
|
namespace highlightManager {
|
|
/**
|
|
* @brief Init the Highlight manager
|
|
*/
|
|
void init();
|
|
/**
|
|
* @brief Un-Init the Highlight manager
|
|
*/
|
|
void unInit();
|
|
/**
|
|
* @brief Un-Init the Highlight manager
|
|
* @param[in] _fileName name of the file
|
|
* @return type of highlight
|
|
*/
|
|
std::string getTypeFile(const std::string& _fileName);
|
|
/**
|
|
* @brief Get filename with type.
|
|
* @param[in] _type Type name of the highlight.
|
|
* @return filename of the highlight.
|
|
*/
|
|
std::string getFileWithTypeType(const std::string& _type);
|
|
/**
|
|
* @brief Get the list of extention type
|
|
* @return the requested list.
|
|
*/
|
|
std::vector<std::string> getTypeList();
|
|
};
|
|
}
|
|
|