[DEV/API] change .h in .hpp
This commit is contained in:
parent
4e3bcee633
commit
904f76b9b7
@ -3,8 +3,8 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <algue/base64.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <algue/base64.hpp>
|
||||
|
||||
static const std::string base64Elements = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace algue {
|
||||
namespace base64 {
|
@ -4,7 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <algue/debug.h>
|
||||
#include <algue/debug.hpp>
|
||||
|
||||
int32_t algue::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("algue");
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace algue {
|
||||
int32_t getLogId();
|
@ -3,8 +3,8 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <algue/md5.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <algue/md5.hpp>
|
||||
#include <openssl/md5.h>
|
||||
|
||||
std::vector<uint8_t> algue::md5::encode(const uint8_t* _data, int32_t _len) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hp>
|
||||
|
||||
/**
|
||||
* @brief Basic Algue library namespace
|
@ -3,8 +3,8 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <algue/sha1.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <algue/sha1.hpp>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
std::vector<uint8_t> algue::sha1::encode(const uint8_t* _data, int32_t _len) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace algue {
|
||||
namespace sha1 {
|
@ -3,8 +3,8 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#include <etk/types.h>
|
||||
#include <algue/sha512.h>
|
||||
#include <etk/types.hpp>
|
||||
#include <algue/sha512.hpp>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
std::vector<uint8_t> algue::sha512::encode(const uint8_t* _data, int32_t _len) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <etk/types.hpp>
|
||||
|
||||
namespace algue {
|
||||
namespace sha512 {
|
@ -36,10 +36,10 @@ def create(target, module_name):
|
||||
'algue/md5.cpp'
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'algue/base64.h',
|
||||
'algue/sha1.h',
|
||||
'algue/sha512.h',
|
||||
'algue/md5.h',
|
||||
'algue/base64.hpp',
|
||||
'algue/sha1.hpp',
|
||||
'algue/sha512.hpp',
|
||||
'algue/md5.hpp',
|
||||
])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
return my_module
|
||||
|
Loading…
x
Reference in New Issue
Block a user