-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.h
More file actions
36 lines (27 loc) · 828 Bytes
/
plugin.h
File metadata and controls
36 lines (27 loc) · 828 Bytes
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
#ifndef FFTPACK_PLUGIN_INC
#define FFTPACK_PLUGIN_INC
#define _GATANPLUGIN_USES_LIBRARY_VERSION 2
#define _GATAN_USE_STL_STRING
#include "DMPlugInBasic.h"
#include <string.h>
#include <boost/cstdint.hpp>
#include "cache.h"
// Plugin version string
#define FFTPACK_PLUGIN_VERSION "1.1"
// Max supported image rank
#define MAX_RANK 4
//----------------------------------------------------------------------------------------
// Plugin (plugin.cpp)
class fftpackPlugin : public GatanPlugIn::PlugInMain
{
private:
virtual void Start();
virtual void Run();
virtual void Cleanup();
virtual void End();
};
//----------------------------------------------------------------------------------------
// Globals
extern fftpackPlugin g_fftpackPlugin;
extern FactorsCache* g_FactorsCache;
#endif // FFTPACK_PLUGIN_INC