Modified namespace

main
anulax1225 ago%!(EXTRA string=1 year)
parent 15990e18a6
commit f30494c883
  1. 2
      src/bakatools/file_system/directory.cpp
  2. 2
      src/bakatools/file_system/directory.h
  3. 2
      src/bakatools/file_system/file.cpp
  4. 2
      src/bakatools/file_system/file.h
  5. 2
      src/bakatools/file_system/file_watcher.cpp
  6. 2
      src/bakatools/file_system/file_watcher.h

@ -1,6 +1,6 @@
#include "directory.h" #include "directory.h"
namespace Bk::Tools { namespace Bk {
std::string Directory::current() std::string Directory::current()
{ {
return std::filesystem::current_path(); return std::filesystem::current_path();

@ -3,7 +3,7 @@
#include <bakatoolspch.h> #include <bakatoolspch.h>
#include "dir_entry.h" #include "dir_entry.h"
namespace Bk::Tools { namespace Bk {
class Directory : public DirEntry class Directory : public DirEntry
{ {
public: public:

@ -1,6 +1,6 @@
#include "file.h" #include "file.h"
namespace Bk::Tools { namespace Bk {
int File::remove() int File::remove()
{ {
return std::filesystem::remove(ent.path()); return std::filesystem::remove(ent.path());

@ -4,7 +4,7 @@
#include <bakatools/container/data_stream.h> #include <bakatools/container/data_stream.h>
#include "dir_entry.h" #include "dir_entry.h"
namespace Bk::Tools { namespace Bk {
class File : public DirEntry class File : public DirEntry
{ {
public: public:

@ -1,6 +1,6 @@
#include "file_watcher.h" #include "file_watcher.h"
namespace Bk::Tools { namespace Bk {
FileWatcher::FileWatcher(std::string path, TimeSpan<Millisecond> ts) FileWatcher::FileWatcher(std::string path, TimeSpan<Millisecond> ts)
: target(path), ttm(ts) : target(path), ttm(ts)
{ {

@ -3,7 +3,7 @@
#include <bakatoolspch.h> #include <bakatoolspch.h>
#include <bakatools/thread/task_timer.h> #include <bakatools/thread/task_timer.h>
namespace Bk::Tools { namespace Bk {
enum class FileStat enum class FileStat
{ {
Created = 0, Created = 0,

Loading…
Cancel
Save