summaryrefslogtreecommitdiff
path: root/ldmicro/includes/ldmicro.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/includes/ldmicro.h')
-rw-r--r--ldmicro/includes/ldmicro.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/ldmicro/includes/ldmicro.h b/ldmicro/includes/ldmicro.h
index e434b82..e6edddc 100644
--- a/ldmicro/includes/ldmicro.h
+++ b/ldmicro/includes/ldmicro.h
@@ -501,20 +501,19 @@ typedef struct McuIoInfoTag {
#define NUM_SUPPORTED_MCUS 16
-/*
//-----------------------------------------------
// Function prototypes
// ldmicro.cpp
void ProgramChanged(void);
-*/
+
void SetMenusEnabled(BOOL canNegate, BOOL canNormal, BOOL canResetOnly,
BOOL canSetOnly, BOOL canDelete, BOOL canInsertEnd, BOOL canInsertOther,
BOOL canPushRungDown, BOOL canPushRungUp, BOOL canInsertComment);
-/*
+
void SetUndoEnabled(BOOL undoEnabled, BOOL redoEnabled);
void RefreshScrollbars(void);
-extern HINSTANCE Instance;*/
+extern HINSTANCE Instance;
extern HWID MainWindow;
extern HDC Hdc;
extern PlcProgram Prog;
@@ -557,14 +556,14 @@ extern BOOL SelectionActive;
extern BOOL ThisHighlighted;
// draw_outputdev.cpp
-extern void (*DrawChars)(int, int, char *);
-void CALLBACK BlinkCursor(HWND hwnd, UINT msg, UINT_PTR id, DWORD time);
-void PaintWindow(void);
-void ExportDrawingAsText(char *file);
-void InitForDrawing(void);
-void SetUpScrollbars(BOOL *horizShown, SCROLLINFO *horiz, SCROLLINFO *vert);
-int ScreenRowsAvailable(void);
-int ScreenColsAvailable(void);
+// extern void (*DrawChars)(int, int, char *);
+// void CALLBACK BlinkCursor(HWND hwnd, UINT msg, UINT_PTR id, DWORD time);
+// void PaintWindow(void);
+// void ExportDrawingAsText(char *file);
+// void InitForDrawing(void);
+// void SetUpScrollbars(BOOL *horizShown, SCROLLINFO *horiz, SCROLLINFO *vert);
+// int ScreenRowsAvailable(void);
+// int ScreenColsAvailable(void);
extern HFONT FixedWidthFont;
extern HFONT FixedWidthFontBold;
extern int SelectedGxAfterNextPaint;
@@ -706,6 +705,7 @@ void ShowHelpDialog(BOOL about);
Error("Internal error at line %d file '%s'\n", __LINE__, __FILE__); \
exit(1); \
}
+
void dbp(char *str, ...);
void Error(char *str, ...);
void *CheckMalloc(size_t n);
@@ -780,5 +780,5 @@ void CompileAnsiC(char *outFile);
void CompileInterpreted(char *outFile);
//Arduino.cpp
void CompileArduino(char *outFile);
-*/
+
#endif