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 <DataIO.h>
|
||||
#include <ByteOrder.h>
|
||||
#include "TGATranslatorSettings.h"
|
||||
|
||||
#define TGA_TRANSLATOR_VERSION 100
|
||||
#define TGA_IN_QUALITY 1.0
|
||||
@ -166,10 +167,16 @@ public:
|
||||
// it translates the data in inSource to outDestination
|
||||
// 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,
|
||||
BView **outView, BRect *outExtent);
|
||||
// creates and returns the view for displaying information
|
||||
// about this translator
|
||||
|
||||
TGATranslatorSettings *AcquireSettings();
|
||||
|
||||
protected:
|
||||
virtual ~TGATranslator();
|
||||
@ -178,6 +185,8 @@ protected:
|
||||
// the user
|
||||
|
||||
private:
|
||||
TGATranslatorSettings *fpsettings;
|
||||
|
||||
char fName[30];
|
||||
char fInfo[100];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user