Changed names

This commit is contained in:
zawz 2019-08-15 15:03:17 +02:00
parent 6b0b89df7d
commit 6eeadea52f
16 changed files with 37 additions and 37 deletions

View file

@ -1,5 +1,5 @@
#ifndef ZCOLOR_HPP
#define ZCOLOR_HPP
#ifndef COLOR_HPP
#define COLOR_HPP
#include <iostream>
@ -19,7 +19,7 @@
//! Number of predefined colors
#define COLOR_COUNT 19
/*! @file zcolor.hpp
/*! @file color.hpp
* @brief Color management
*/
@ -117,4 +117,4 @@ namespace ztd
inline std::ostream& operator<<(std::ostream& st, const color& c) { return st << c.code(); }
}
#endif //ZCOLOR_HPP
#endif //COLOR_HPP

View file

@ -1,5 +1,5 @@
#ifndef ZFILEDAT_HPP
#define ZFILEDAT_HPP
#ifndef FILEDAT_HPP
#define FILEDAT_HPP
#include <string>
#include <vector>
@ -11,7 +11,7 @@
#include <cstring>
/*! @file zfiledat.hpp
/*! @file filedat.hpp
* @brief Storing and reading data
*
* Easily organize data in a JSON-like file format
@ -391,4 +391,4 @@ namespace ztd
}
#endif //ZFILEDAT_HPP
#endif //FILEDAT_HPP

View file

@ -1,5 +1,5 @@
#ifndef ZOPTIONS_H
#define ZOPTIONS_H
#ifndef OPTIONS_H
#define OPTIONS_H
//DUPLICATES NOT HANDLED: takes last one
//NO ORDER: no way to know options order
@ -11,7 +11,7 @@
#include <exception>
/*! @file zoptions.hpp
/*! @file options.hpp
* @brief CLI option reading and processing
*
* Easy managing of POSIX/GNU style options
@ -143,4 +143,4 @@ namespace ztd
} //ztd
#endif //ZOPTIONS_H
#endif //OPTIONS_H

View file

@ -1,10 +1,10 @@
#ifndef ZSHELL_HPP
#define ZSHELL_HPP
#ifndef SHELL_HPP
#define SHELL_HPP
#include <string>
#include <stdio.h>
/*! \file zshell.hpp
/*! \file shell.hpp
* @brief Shell functionality and interaction
*/
@ -39,4 +39,4 @@ namespace ztd
// };
}
#endif //ZSHELL_HPP
#endif //SHELL_HPP

View file

@ -13,7 +13,7 @@
#include <condition_variable> // std::condition_variable
/*! @file zsocket.hpp
/*! @file socket.hpp
* @brief Manage network sockets
*/

View file

@ -1,10 +1,10 @@
#ifndef ZTHREAD_HPP
#define ZTHREAD_HPP
#ifndef THREAD_HPP
#define THREAD_HPP
#include <vector>
#include <thread>
/*! \file zthread.hpp
/*! \file thread.hpp
* @brief Thread management
*/
@ -37,4 +37,4 @@ namespace ztd
}
#endif //ZTHREAD_HPP
#endif //THREAD_HPP

View file

@ -1,9 +1,9 @@
#ifndef ZTIME_HPP
#define ZTIME_HPP
#ifndef TIME_HPP
#define TIME_HPP
#include <sys/time.h>
/*! @file ztime.hpp
/*! @file time.hpp
* @brief Time measuring and managing
*/
@ -50,4 +50,4 @@ namespace ztd
}
#endif //ZTIME_HPP
#endif //TIME_HPP

View file

@ -1,10 +1,10 @@
#ifndef ZWAIT_HPP
#define ZWAIT_HPP
#ifndef WAIT_HPP
#define WAIT_HPP
#include <mutex> // std::mutex, std::unique_lock
#include <condition_variable> // std::condition_variable
/*! \file zwait.hpp
/*! \file wait.hpp
* @brief Thread stalling and waiting
*/
@ -30,4 +30,4 @@ namespace ztd
};
}
#endif //ZWAIT_HPP
#endif //WAIT_HPP

View file

@ -1,4 +1,4 @@
#include "zcolor.hpp"
#include "color.hpp"
const char* ztd::color::color_name_index[COLOR_COUNT] = {
"none",

View file

@ -1,4 +1,4 @@
#include "zfiledat.hpp"
#include "filedat.hpp"
// Function code
bool ztd::filedat::isRead(char in)

View file

@ -1,4 +1,4 @@
#include "zoptions.hpp"
#include "options.hpp"
#include <string.h>
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include "zshell.hpp"
#include "shell.hpp"
#include <unistd.h>
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include "zsocket.hpp"
#include "socket.hpp"
#include <stdint.h>
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include "zthread.hpp"
#include "thread.hpp"
ztd::thread_pool::~thread_pool()
{

View file

@ -1,4 +1,4 @@
#include "ztime.hpp"
#include "time.hpp"
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include "zwait.hpp"
#include "wait.hpp"
void ztd::wait_pool::wait()
{