Renaming, moving from .h to .hpp. Should not affect API, mostly internal stuff

--HG--
rename : g2log/src/g2future.h => g2log/src/g2future.hpp
rename : g2log/src/g2sink.h => g2log/src/g2sink.hpp
rename : g2log/src/g2sinkhandle.h => g2log/src/g2sinkhandle.hpp
rename : g2log/src/g2sinkwrapper.h => g2log/src/g2sinkwrapper.hpp
rename : g2log/src/shared_queue.h => g2log/src/shared_queue.hpp
This commit is contained in:
KjellKod 2013-12-15 22:13:43 -07:00
parent aeadc490b1
commit d5ec3424e5
10 changed files with 16 additions and 16 deletions

View File

@ -21,7 +21,7 @@
#include <functional>
#include <memory>
#include "shared_queue.h"
#include "shared_queue.hpp"
namespace kjellkod {
typedef std::function<void() > Callback;

View File

@ -5,7 +5,7 @@
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
* ============================================================================
* Filename:g2future.h
* Filename:g2future.hpp
* Helper functionality to put packaged_tasks in standard container. This
* is especially helpful for background thread processing a la async but through
* an actor pattern (active object), thread pool or similar.

View File

@ -16,7 +16,7 @@
#include "active.hpp"
#include "g2log.hpp"
#include "g2time.hpp"
#include "g2future.h"
#include "g2future.hpp"
#include "crashhandler.hpp"
#include <iostream> // remove

View File

@ -18,8 +18,8 @@
#include <utility>
#include "g2log.hpp"
#include "g2sinkwrapper.h"
#include "g2sinkhandle.h"
#include "g2sinkwrapper.hpp"
#include "g2sinkhandle.hpp"
#include "g2filesink.hpp"
#include "g2logmessage.hpp"
#include "std2_make_unique.hpp"

View File

@ -11,9 +11,9 @@
#include <memory>
#include <functional>
#include "g2sinkwrapper.h"
#include "g2sinkwrapper.hpp"
#include "active.hpp"
#include "g2future.h"
#include "g2future.hpp"
#include "g2logmessage.hpp"
namespace g2 {

View File

@ -1,5 +1,5 @@
/*
* File: g2sinkhandle.h
* File: g2sinkhandle.hpp
* Author: kjell
*
* Created on July 21, 2013, 11:42 AM
@ -10,7 +10,7 @@
#include <memory>
#include <functional>
#include <g2sink.h>
#include "g2sink.hpp"
namespace g2 {

View File

@ -1,12 +1,12 @@
/*
* File: g2sinkwrapper.ipp
* File: g2sinkwrapper.hpp
* Author: kjell
*
* Created on July 21, 2013, 11:21 AM
*/
#ifndef G2SINKWRAPPER_IPP
#define G2SINKWRAPPER_IPP
#ifndef G2SINKWRAPPER_HPP
#define G2SINKWRAPPER_HPP
#include "g2logmessage.hpp"

View File

@ -9,9 +9,9 @@
#include "testing_helpers.h"
#include "std2_make_unique.hpp"
#include "g2sink.h"
#include "g2sinkwrapper.h"
#include "g2sinkhandle.h"
#include "g2sink.hpp"
#include "g2sinkwrapper.hpp"
#include "g2sinkhandle.hpp"
#include "g2logmessage.hpp"

View File

@ -14,7 +14,7 @@
#include <functional>
#include <memory>
#include "g2time.hpp"
#include "g2future.h"
#include "g2future.hpp"
TEST(Configuration, LOG)
{ // ref: http://www.cplusplus.com/reference/clibrary/ctime/strftime/