CFx SDK Documentation  2023 SP0
FxUserInfo.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include <QtCore/QString>
20 #include "DDKERNEL.h"
21 
23 {
24 public:
25  CFxUserInfo() = default;
26  virtual ~CFxUserInfo() = default;
27 
28 public:
29  //Getters
30  virtual const QString& GetAppId() const = 0;
31  virtual const QString& GetName() = 0;
32  virtual const QString& GetFirstName() const = 0;
33  virtual const QString& GetLastName() const = 0;
34  virtual const QString& GetEmail() const = 0;
35  virtual const QString& GetCreatedAt() const = 0;
36  //virtual const QString& GetSubDomain() const = 0;
37  virtual const QString& GetUserId() const = 0;
38  virtual const QString& GetLanguageOverride() const = 0;
39  virtual const QString& GetCountryOverride() const = 0;
40  virtual const QString& GetLicensingId() const = 0;
41  virtual const QString& GetUserHash() const = 0;
42 
43  //Setters
44  virtual void SetAppId( QString ) = 0;
45  virtual void SetName( QString ) = 0;
46  virtual void SetFirstName( QString ) = 0;
47  virtual void SetLastName( QString ) = 0;
48  virtual void SetEmail( QString ) = 0;
49  virtual void SetCreatedAt( QString ) = 0;
50  //virtual void SetSubDomain( QString ) = 0;
51  virtual void SetUserId( QString ) = 0;
52  virtual void SetLanguageOverride( QString ) = 0;
53  virtual void SetCountryOverride( QString ) = 0;
54  virtual void SetLicensingId( QString ) = 0;
55  virtual void SetUserHash( QString ) = 0;
56 };
57 
60 
61 
#define DDKERNEL_API
Definition: DDKERNEL.h:32
DDKERNEL_API CFxUserInfo * GetFxUserInfo()
DDKERNEL_API void ResetFxUserInfo()
virtual void SetUserId(QString)=0
virtual const QString & GetLastName() const =0
virtual void SetEmail(QString)=0
virtual void SetLastName(QString)=0
virtual const QString & GetLanguageOverride() const =0
virtual void SetName(QString)=0
virtual void SetUserHash(QString)=0
virtual void SetLicensingId(QString)=0
virtual const QString & GetName()=0
virtual void SetCreatedAt(QString)=0
virtual const QString & GetCreatedAt() const =0
virtual void SetCountryOverride(QString)=0
virtual const QString & GetFirstName() const =0
virtual const QString & GetEmail() const =0
virtual const QString & GetLicensingId() const =0
virtual ~CFxUserInfo()=default
virtual const QString & GetUserId() const =0
virtual const QString & GetAppId() const =0
virtual void SetAppId(QString)=0
virtual void SetFirstName(QString)=0
CFxUserInfo()=default
virtual const QString & GetCountryOverride() const =0
virtual void SetLanguageOverride(QString)=0
virtual const QString & GetUserHash() const =0