Changed names
This commit is contained in:
parent
6b0b89df7d
commit
6eeadea52f
16 changed files with 37 additions and 37 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ZCOLOR_HPP
|
#ifndef COLOR_HPP
|
||||||
#define ZCOLOR_HPP
|
#define COLOR_HPP
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
//! Number of predefined colors
|
//! Number of predefined colors
|
||||||
#define COLOR_COUNT 19
|
#define COLOR_COUNT 19
|
||||||
|
|
||||||
/*! @file zcolor.hpp
|
/*! @file color.hpp
|
||||||
* @brief Color management
|
* @brief Color management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -117,4 +117,4 @@ namespace ztd
|
||||||
inline std::ostream& operator<<(std::ostream& st, const color& c) { return st << c.code(); }
|
inline std::ostream& operator<<(std::ostream& st, const color& c) { return st << c.code(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //ZCOLOR_HPP
|
#endif //COLOR_HPP
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ZFILEDAT_HPP
|
#ifndef FILEDAT_HPP
|
||||||
#define ZFILEDAT_HPP
|
#define FILEDAT_HPP
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
|
||||||
/*! @file zfiledat.hpp
|
/*! @file filedat.hpp
|
||||||
* @brief Storing and reading data
|
* @brief Storing and reading data
|
||||||
*
|
*
|
||||||
* Easily organize data in a JSON-like file format
|
* Easily organize data in a JSON-like file format
|
||||||
|
|
@ -391,4 +391,4 @@ namespace ztd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif //ZFILEDAT_HPP
|
#endif //FILEDAT_HPP
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ZOPTIONS_H
|
#ifndef OPTIONS_H
|
||||||
#define ZOPTIONS_H
|
#define OPTIONS_H
|
||||||
|
|
||||||
//DUPLICATES NOT HANDLED: takes last one
|
//DUPLICATES NOT HANDLED: takes last one
|
||||||
//NO ORDER: no way to know options order
|
//NO ORDER: no way to know options order
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
|
|
||||||
/*! @file zoptions.hpp
|
/*! @file options.hpp
|
||||||
* @brief CLI option reading and processing
|
* @brief CLI option reading and processing
|
||||||
*
|
*
|
||||||
* Easy managing of POSIX/GNU style options
|
* Easy managing of POSIX/GNU style options
|
||||||
|
|
@ -143,4 +143,4 @@ namespace ztd
|
||||||
|
|
||||||
} //ztd
|
} //ztd
|
||||||
|
|
||||||
#endif //ZOPTIONS_H
|
#endif //OPTIONS_H
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef ZSHELL_HPP
|
#ifndef SHELL_HPP
|
||||||
#define ZSHELL_HPP
|
#define SHELL_HPP
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/*! \file zshell.hpp
|
/*! \file shell.hpp
|
||||||
* @brief Shell functionality and interaction
|
* @brief Shell functionality and interaction
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -39,4 +39,4 @@ namespace ztd
|
||||||
// };
|
// };
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //ZSHELL_HPP
|
#endif //SHELL_HPP
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
#include <condition_variable> // std::condition_variable
|
#include <condition_variable> // std::condition_variable
|
||||||
|
|
||||||
|
|
||||||
/*! @file zsocket.hpp
|
/*! @file socket.hpp
|
||||||
* @brief Manage network sockets
|
* @brief Manage network sockets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef ZTHREAD_HPP
|
#ifndef THREAD_HPP
|
||||||
#define ZTHREAD_HPP
|
#define THREAD_HPP
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
/*! \file zthread.hpp
|
/*! \file thread.hpp
|
||||||
* @brief Thread management
|
* @brief Thread management
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -37,4 +37,4 @@ namespace ztd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif //ZTHREAD_HPP
|
#endif //THREAD_HPP
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
#ifndef ZTIME_HPP
|
#ifndef TIME_HPP
|
||||||
#define ZTIME_HPP
|
#define TIME_HPP
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
/*! @file ztime.hpp
|
/*! @file time.hpp
|
||||||
* @brief Time measuring and managing
|
* @brief Time measuring and managing
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -50,4 +50,4 @@ namespace ztd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif //ZTIME_HPP
|
#endif //TIME_HPP
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef ZWAIT_HPP
|
#ifndef WAIT_HPP
|
||||||
#define ZWAIT_HPP
|
#define WAIT_HPP
|
||||||
|
|
||||||
#include <mutex> // std::mutex, std::unique_lock
|
#include <mutex> // std::mutex, std::unique_lock
|
||||||
#include <condition_variable> // std::condition_variable
|
#include <condition_variable> // std::condition_variable
|
||||||
|
|
||||||
/*! \file zwait.hpp
|
/*! \file wait.hpp
|
||||||
* @brief Thread stalling and waiting
|
* @brief Thread stalling and waiting
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -30,4 +30,4 @@ namespace ztd
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //ZWAIT_HPP
|
#endif //WAIT_HPP
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zcolor.hpp"
|
#include "color.hpp"
|
||||||
|
|
||||||
const char* ztd::color::color_name_index[COLOR_COUNT] = {
|
const char* ztd::color::color_name_index[COLOR_COUNT] = {
|
||||||
"none",
|
"none",
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zfiledat.hpp"
|
#include "filedat.hpp"
|
||||||
|
|
||||||
// Function code
|
// Function code
|
||||||
bool ztd::filedat::isRead(char in)
|
bool ztd::filedat::isRead(char in)
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zoptions.hpp"
|
#include "options.hpp"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zshell.hpp"
|
#include "shell.hpp"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zsocket.hpp"
|
#include "socket.hpp"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zthread.hpp"
|
#include "thread.hpp"
|
||||||
|
|
||||||
ztd::thread_pool::~thread_pool()
|
ztd::thread_pool::~thread_pool()
|
||||||
{
|
{
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "ztime.hpp"
|
#include "time.hpp"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#include "zwait.hpp"
|
#include "wait.hpp"
|
||||||
|
|
||||||
void ztd::wait_pool::wait()
|
void ztd::wait_pool::wait()
|
||||||
{
|
{
|
||||||
Loading…
Reference in a new issue