zeus/zeus/mineType.hpp

24 lines
631 B
C++

/** @file
* @author Edouard DUPIN
* @copyright 2016, Edouard DUPIN, all right reserved
* @license MPL v2.0 (see license file)
*/
#pragma once
#include <etk/types.hpp>
namespace zeus {
/**
* @brief get the mine type with the file extention
* @param[in] _extention file extention (without the '.')
* @return The generic mine tipe in http format
*/
etk::String getMineType(etk::String _extention);
/**
* @brief Retrive the extention of a file with his mine type
* @param[in] _mineType Mine tipe in http format
* @return file extention (without the '.')
*/
etk::String getExtention(etk::String _mineType);
};