]> git.tdb.fi Git - builder.git/blob - source/exportdefinitions.h
73d6f0fb46a8ab73200abc0a74812b6f88ae4e72
[builder.git] / source / exportdefinitions.h
1 #ifndef EXPORTDEFINITIONS_H_
2 #define EXPORTDEFINITIONS_H_
3
4 #include "filetarget.h"
5
6 class SharedLibrary;
7
8 /**
9 An export definition file for a shared library.  Only used on Windows.
10 */
11 class ExportDefinitions: public FileTarget
12 {
13 private:
14         SharedLibrary &lib;
15
16 public:
17         ExportDefinitions(Builder &, const Component &, SharedLibrary &);
18 private:
19         static Msp::FS::Path generate_target_path(const Component &);
20
21 public:
22         virtual const char *get_type() const { return "ExportDefinitions"; }
23
24         SharedLibrary &get_library() const { return lib; }
25 };
26
27 #endif