X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreaccount.h;h=b69552c5984bfaee056c1c5fcaba61b3781d8195;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hp=d8acb4284510528d084f527ce13a531bb0e45bef;hpb=db6e6642a43143bc45ddb0732d144815b68e37f8;p=quassel.git diff --git a/src/client/coreaccount.h b/src/client/coreaccount.h index d8acb428..b69552c5 100644 --- a/src/client/coreaccount.h +++ b/src/client/coreaccount.h @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREACCOUNT_H_ -#define COREACCOUNT_H_ +#pragma once + +#include "client-export.h" #include #include @@ -28,13 +29,14 @@ #include #include "types.h" -class CoreAccount + +class CLIENT_EXPORT CoreAccount { Q_DECLARE_TR_FUNCTIONS(CoreAccount) public: CoreAccount(AccountId accountId = 0); - virtual ~CoreAccount() {}; + virtual ~CoreAccount() = default; inline bool isValid() const { return accountId().isValid(); } inline AccountId accountId() const { return _accountId; } @@ -95,5 +97,3 @@ private: }; QDebug operator<<(QDebug dbg, const CoreAccount &msg); - -#endif