mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
Some prototypes added in twain and win-snap
This commit is contained in:
parent
54f46cea00
commit
c15c3f4828
|
@ -211,6 +211,7 @@ char *twainError(int);
|
|||
char *currentTwainError(pTW_SESSION);
|
||||
int getImage(pTW_SESSION);
|
||||
int loadTwainLibrary(pTW_SESSION);
|
||||
int unloadTwainLibrary(pTW_SESSION twSession);
|
||||
int openDSM(pTW_SESSION);
|
||||
int selectDS(pTW_SESSION);
|
||||
int selectDefaultDS(pTW_SESSION);
|
||||
|
@ -220,8 +221,9 @@ int disableDS(pTW_SESSION);
|
|||
int closeDS(pTW_SESSION);
|
||||
int closeDSM(pTW_SESSION);
|
||||
void cancelPendingTransfers(pTW_SESSION);
|
||||
int scanImage (void);
|
||||
|
||||
TW_FIX32 FloatToFix32(float);
|
||||
TW_FIX32 FloatToFIX32(float);
|
||||
float FIX32ToFloat(TW_FIX32);
|
||||
|
||||
void processTwainMessage(TW_UINT16 message, pTW_SESSION twSession);
|
||||
|
@ -230,5 +232,10 @@ pTW_SESSION newSession(pTW_IDENTITY);
|
|||
void registerWindowHandle(pTW_SESSION, TW_HANDLE);
|
||||
void registerTransferCallbacks(pTW_SESSION, pTXFR_CB_FUNCS, void *);
|
||||
void setClientData(pTW_SESSION session, void *clientData);
|
||||
pTW_SESSION initializeTwain(void);
|
||||
|
||||
void LogLastWinError(void);
|
||||
BOOL InitApplication(HINSTANCE hInstance);
|
||||
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow, pTW_SESSION twSession);
|
||||
|
||||
#endif /* _TW_FUNC_H */
|
||||
|
|
|
@ -74,6 +74,12 @@
|
|||
#define APP_NAME PLUG_IN_NAME
|
||||
#define WM_DOCAPTURE (WM_USER + 100)
|
||||
|
||||
/* Prototypes */
|
||||
void setCaptureType(int capType);
|
||||
BOOL InitApplication(HINSTANCE hInstance);
|
||||
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow);
|
||||
int winsnapWinMain(void);
|
||||
|
||||
/* File variables */
|
||||
static int captureType;
|
||||
static char buffer[512];
|
||||
|
|
Loading…
Reference in a new issue