summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c6b1c90..59fa299 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,35 +1,35 @@
-#include <icetrayService.h>
-#include <git2.h>
+#include "repoList.h"
#include <factory.h>
+#include <git2.h>
#include <icecube.h>
-#include "repoList.h"
+#include <icetrayService.h>
namespace GitFS {
class Main : public IceTray::Service {
- public:
- Main()
- {
- git_libgit2_init();
- }
+ public:
+ Main()
+ {
+ git_libgit2_init();
+ }
- ~Main() override
- {
- git_libgit2_shutdown();
- }
+ ~Main() override
+ {
+ git_libgit2_shutdown();
+ }
- Main(const Main &) = delete;
- Main(Main &&) = delete;
+ Main(const Main &) = delete;
+ Main(Main &&) = delete;
- Main & operator=(const Main &) = delete;
- Main & operator=(Main &&) = delete;
+ Main & operator=(const Main &) = delete;
+ Main & operator=(Main &&) = delete;
- void addObjects(const std::string &, const Ice::CommunicatorPtr & ic, const Ice::StringSeq &, const Ice::ObjectAdapterPtr & adp) override
- {
- IceTray::Cube::addObject<NetFS::Service, RepoList>(adp, "Service",
- std::move(ic->getProperties()));
- }
+ void
+ addObjects(const std::string &, const Ice::CommunicatorPtr & ic, const Ice::StringSeq &,
+ const Ice::ObjectAdapterPtr & adp) override
+ {
+ IceTray::Cube::addObject<NetFS::Service, RepoList>(adp, "Service", std::move(ic->getProperties()));
+ }
};
NAMEDFACTORY("default", Main, IceTray::ServiceFactory);
}
-