added support for saving settings, in various ways
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1424 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ce992c6d0f
commit
d3d8762333
@ -36,6 +36,7 @@
|
|||||||
#include <InterfaceDefs.h>
|
#include <InterfaceDefs.h>
|
||||||
#include <DataIO.h>
|
#include <DataIO.h>
|
||||||
#include <ByteOrder.h>
|
#include <ByteOrder.h>
|
||||||
|
#include "TGATranslatorSettings.h"
|
||||||
|
|
||||||
#define TGA_TRANSLATOR_VERSION 100
|
#define TGA_TRANSLATOR_VERSION 100
|
||||||
#define TGA_IN_QUALITY 1.0
|
#define TGA_IN_QUALITY 1.0
|
||||||
@ -166,10 +167,16 @@ public:
|
|||||||
// it translates the data in inSource to outDestination
|
// it translates the data in inSource to outDestination
|
||||||
// using the format outType
|
// using the format outType
|
||||||
|
|
||||||
|
virtual status_t GetConfigurationMessage(BMessage *ioExtension);
|
||||||
|
// write the current state of the translator into
|
||||||
|
// the supplied BMessage object
|
||||||
|
|
||||||
virtual status_t MakeConfigurationView(BMessage *ioExtension,
|
virtual status_t MakeConfigurationView(BMessage *ioExtension,
|
||||||
BView **outView, BRect *outExtent);
|
BView **outView, BRect *outExtent);
|
||||||
// creates and returns the view for displaying information
|
// creates and returns the view for displaying information
|
||||||
// about this translator
|
// about this translator
|
||||||
|
|
||||||
|
TGATranslatorSettings *AcquireSettings();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~TGATranslator();
|
virtual ~TGATranslator();
|
||||||
@ -178,6 +185,8 @@ protected:
|
|||||||
// the user
|
// the user
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
TGATranslatorSettings *fpsettings;
|
||||||
|
|
||||||
char fName[30];
|
char fName[30];
|
||||||
char fInfo[100];
|
char fInfo[100];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user