Happy 2021

This commit is contained in:
Duke Leto
2021-01-02 11:20:58 -05:00
parent 3e79044f25
commit 0cee4989c0
92 changed files with 228 additions and 90 deletions

View File

@@ -1,5 +1,5 @@
// Copyright 2019-2020 The Hush developers
// GPLv3
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#include "ChatDataStore.h"
#include "addressbook.h"

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef CHATDATASTORE_H
#define CHATDATASTORE_H
#include "../chatmodel.h"

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef CONTACTDATASTORE_H
#define CONTACTDATASTORE_H
#include "../Model/ContactItem.h"

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef DATASTORE_H
#define DATASTORE_H
@@ -55,4 +57,4 @@ QString DataStore<T>::getData(QString key)
{
return this->data[key];
}
#endif
#endif

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#include "DataStore.h"
SietchDataStore* DataStore::getSietchDataStore()
@@ -13,4 +15,4 @@ ChatDataStore* DataStore::getChatDataStore()
ContactDataStore* DataStore::getContactDataStore()
{
return ContactDataStore::getInstance();
}
}

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef DATASTORE_H
#define DATASTORE_H
@@ -13,4 +15,4 @@ class DataStore
static ContactDataStore* getContactDataStore();
};
#endif
#endif

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#include "SietchDataStore.h"
SietchDataStore* SietchDataStore::getInstance()
@@ -32,4 +34,4 @@ QString SietchDataStore::dump()
}
SietchDataStore* SietchDataStore::instance = nullptr;
bool SietchDataStore::instanced = false;
bool SietchDataStore::instanced = false;

View File

@@ -1,3 +1,5 @@
// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef SIETCHDATASTORE_H
#define SIETCHDATASTORE_H