aboutsummaryrefslogtreecommitdiff
path: root/src/greeter.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-28 08:47:03 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-11-28 08:51:08 +0000
commitde76813c8421fd900e0d57038d28e8be693e33be (patch)
treed99b90ed99e1c42f0bd7ad4bef35770bce521720 /src/greeter.h
parent22d45854cb2c7a6374d6dfc631d684d01fcc9063 (diff)
downloadayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.gz
ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.bz2
ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.zip
Fork from Ubuntus' indicator-display project.
Diffstat (limited to 'src/greeter.h')
-rw-r--r--src/greeter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/greeter.h b/src/greeter.h
index f3012f6..0bfe026 100644
--- a/src/greeter.h
+++ b/src/greeter.h
@@ -24,11 +24,11 @@
#include <memory>
#include <string>
-class Greeter
+class BaseGreeter
{
public:
- Greeter();
- virtual ~Greeter();
+ BaseGreeter();
+ virtual ~BaseGreeter();
enum class State { UNAVAILABLE, INACTIVE, ACTIVE };
static inline const char* state_str(const State& state) {
@@ -39,11 +39,11 @@ static inline const char* state_str(const State& state) {
};
-class UnityGreeter: public Greeter
+class Greeter: public BaseGreeter
{
public:
- UnityGreeter();
- virtual ~UnityGreeter();
+ Greeter();
+ virtual ~Greeter();
core::Property<State>& state() override;
protected: