Skip to content

Commit

Permalink
Added menu entry Export Library and placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
ffes committed Sep 19, 2013
1 parent 98cc42b commit 156c362
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions DlgConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,13 @@ static void OnLibraryImport(HWND hWnd)
}
}

/////////////////////////////////////////////////////////////////////////////
//

static void OnLibraryExport(HWND hWnd)
{
}

/////////////////////////////////////////////////////////////////////////////
// Double clicking the item inserts it as well

Expand Down Expand Up @@ -1156,6 +1163,11 @@ static void OnCommand(HWND hWnd, int ResID, int msg)
OnLibraryImport(hWnd);
break;
}
case IDC_LIB_EXPORT:
{
OnLibraryExport(hWnd);
break;
}
}
}

Expand Down
1 change: 1 addition & 0 deletions NppSnippets_res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ BEGIN
MENUITEM "&Languages...", IDC_LIB_LANGUAGES
MENUITEM SEPARATOR
MENUITEM "&Import library...", IDC_LIB_IMPORT
MENUITEM "&Export library...", IDC_LIB_EXPORT
END
END

Expand Down
1 change: 1 addition & 0 deletions Resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@
#define IDC_LIB_DELETE 4103
#define IDC_LIB_LANGUAGES 4104
#define IDC_LIB_IMPORT 4105
#define IDC_LIB_EXPORT 4106

#endif // RESOURCE_H

0 comments on commit 156c362

Please sign in to comment.