Skip to content

Commit

Permalink
- move Locker class to proxy library
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Sep 19, 2024
1 parent d703648 commit f7b12e1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 0 additions & 2 deletions client/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ snapper_SOURCES = \
cmd-cleanup.cc \
cmd-debug.cc \
cleanup.cc cleanup.h \
locker.cc locker.h \
misc.cc misc.h \
MyFiles.cc MyFiles.h \
GlobalOptions.cc GlobalOptions.h
Expand All @@ -51,7 +50,6 @@ libexec_PROGRAMS = systemd-helper
systemd_helper_SOURCES = \
systemd-helper.cc \
cleanup.cc cleanup.h \
locker.cc locker.h \
misc.cc misc.h

systemd_helper_LDADD = \
Expand Down
2 changes: 1 addition & 1 deletion client/cleanup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#include "utils/Limit.h"
#include "utils/equal-date.h"
#include "utils/HumanString.h"
#include "proxy/locker.h"
#include "cleanup.h"
#include "locker.h"


using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion client/cmd-list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#include "utils/text.h"
#include "utils/help.h"
#include "proxy/proxy.h"
#include "proxy/locker.h"
#include "GlobalOptions.h"
#include "locker.h"
#include "misc.h"
#include "utils/TableFormatter.h"
#include "utils/CsvFormatter.h"
Expand Down
2 changes: 2 additions & 0 deletions client/proxy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.lo
*.la
3 changes: 2 additions & 1 deletion client/proxy/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ libclient_la_LIBADD = \
libproxy_la_SOURCES = \
proxy.cc proxy.h \
proxy-dbus.cc proxy-dbus.h \
proxy-lib.cc proxy-lib.h
proxy-lib.cc proxy-lib.h \
locker.cc locker.h
File renamed without changes.
2 changes: 1 addition & 1 deletion client/locker.h → client/proxy/locker.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/


#include "proxy/proxy.h"
#include "proxy.h"


namespace snapper
Expand Down

0 comments on commit f7b12e1

Please sign in to comment.