-
Notifications
You must be signed in to change notification settings - Fork 8
/
GlobalClipboard.h
45 lines (38 loc) · 1.33 KB
/
GlobalClipboard.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include "[BGSEEBase]\GlobalClipboard.h"
#include "Wrappers.h"
namespace cse
{
namespace globalClipboard
{
class GlobalCopyBuffer
{
bgsee::FormListT FormList;
public:
GlobalCopyBuffer();
~GlobalCopyBuffer();
void Add(TESForm* Form);
bool Copy(void);
};
class GlobalClipboardOperator : public bgsee::GlobalClipboardOperator
{
protected:
DefaultFormCollectionSerializer* DefaultFormSerializer;
ObjectRefCollectionSerializer* ObjectRefSerializer;
public:
GlobalClipboardOperator();
virtual ~GlobalClipboardOperator();
virtual bool GetIsFormTypeReplicable(UInt8 Type);
virtual void DisplayClipboardContents(bgsee::PluginFileWrapper* File);
virtual bgsee::FormCollectionSerializer* GetSerializer(bgsee::FormListT& Forms);
virtual bgsee::FormCollectionSerializer* GetDeserializer(bgsee::PluginFileWrapper* File);
virtual void PreCopyCallback(bgsee::FormListT& CopyForms,
bgsee::PluginFileWrapper* File);
virtual bool PostCopyCallback(bool SerializationSuccessful);
virtual void PrePasteCallback(bgsee::PluginFileWrapper* File);
virtual bool PostPasteCallback(bool DeserializationSuccessful, bgsee::FormCollectionSerializer* Deserializer);
};
void Initialize();
void Deinitialize();
}
}