GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CoreTypedef.h
1 
29 #pragma once
30 
31 #include "core/model/DataObject.h"
32 
33 namespace GpgFrontend {
34 
35 using GFError = uint32_t;
36 using ByteArray = QByteArray;
37 using ByteArrayPtr = std::shared_ptr<ByteArray>;
38 using StdBypeArrayPtr = std::shared_ptr<ByteArray>;
39 using BypeArrayRef = ByteArray&;
40 using ConstBypeArrayRef = const ByteArray&;
41 using BypeArrayConstRef = const ByteArray&;
42 using StringArgsPtr = std::unique_ptr<std::vector<QString>>;
43 using StringArgsRef = std::vector<QString>&;
46 
47 using OperaRunnable = std::function<GFError(DataObjectPtr)>;
48 using OperationCallback = std::function<void(GFError, DataObjectPtr)>;
49 } // namespace GpgFrontend
Definition: app.cpp:39