forked from alexgoussev/TrackProcessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Metadata.h
45 lines (43 loc) · 1.39 KB
/
Metadata.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
//---------------------------------------------------------------------------
#ifndef MetadataH
#define MetadataH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "GPXData.h"
#include <ActnList.hpp>
#include <System.Actions.hpp>
//---------------------------------------------------------------------------
class TEditMetadata : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TPanel *Panel1;
TEdit *Name;
TLabel *Label2;
TMemo *Description;
TLabel *Label3;
TMemo *Comment;
TLabel *Label4;
TMemo *Source;
TButton *Set;
TButton *Cancel;
TActionList *EtitMetadataActions;
TAction *SetAction;
void __fastcall SetActionExecute(TObject *Sender);
void __fastcall SetActionUpdate(TObject *Sender);
private:
PGPXTrack m_pCurrentTrack;
void __fastcall SetCurrentTrack(PGPXTrack value);
PGPXTrack __fastcall GetCurrentTrack(); // User declarations
public: // User declarations
__fastcall TEditMetadata(TComponent* Owner);
__property PGPXTrack CurrentTrack = { read=GetCurrentTrack, write=SetCurrentTrack };
};
//---------------------------------------------------------------------------
extern PACKAGE TEditMetadata *EditMetadata;
//---------------------------------------------------------------------------
#endif