mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 19:13:36 +00:00
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// ts just stink, social manager is a stupid stub rn
|
|
#pragma once
|
|
#include "../Stubs/winapi_stubs.h"
|
|
|
|
#ifndef _SOCIAL_MANAGER_H
|
|
#define _SOCIAL_MANAGER_H
|
|
|
|
enum ESocialNetwork { eFacebook = 0, eNumSocialNetworks };
|
|
|
|
class CSocialManager {
|
|
public:
|
|
static CSocialManager* Instance() {
|
|
static CSocialManager s_instance;
|
|
return &s_instance;
|
|
}
|
|
|
|
void Initialise() {}
|
|
void Tick() {}
|
|
|
|
bool RefreshPostingCapability() { return false; }
|
|
bool IsTitleAllowedToPostAnything() { return false; }
|
|
bool IsTitleAllowedToPostImages() { return false; }
|
|
bool IsTitleAllowedToPostLinks() { return false; }
|
|
bool AreAllUsersAllowedToPostImages() { return false; }
|
|
|
|
bool PostLinkToSocialNetwork(ESocialNetwork, uint32_t, bool) {
|
|
return false;
|
|
}
|
|
bool PostImageToSocialNetwork(ESocialNetwork, uint32_t, bool) {
|
|
return false;
|
|
}
|
|
|
|
void SetSocialPostText(const wchar_t*, const wchar_t*, const wchar_t*) {}
|
|
|
|
private:
|
|
CSocialManager() {}
|
|
CSocialManager(const CSocialManager&);
|
|
CSocialManager& operator=(const CSocialManager&);
|
|
};
|
|
|
|
#endif // _SOCIAL_MANAGER_H
|