Example #1
0
Bool PluginStart()
{
  // RegisterAutoConnectObject();
  return RegisterCommandPlugin(
      ID_AUTOCONNECT_COMMAND,
      GeLoadString(IDS_AUTOCONNECT_NAME),
      PLUGINFLAG_COMMAND_HOTKEY,
      AutoBitmap("autoconnect.tif"),
      GeLoadString(IDS_AUTOCONNECT_HELP),
      new AutoConnectCommand);
}
Example #2
0
Bool RegisterDiffZipCommand()
{
	RegisterResEditIcon(DIFF_DISTRI_ID, 8, 2);
	RegisterCommandPlugin(DIFF_DISTRI_ID, GeLoadString(IDS_DIFF_DISTRI), 0, nullptr, GeLoadString(IDS_DIFF_DISTRI), NewObjClear(DiffDistriCommand));
	return true;
}
Example #3
0
Bool RegisterMenuTest(void)
{
	// be sure to use a unique ID obtained from www.plugincafe.com
	return RegisterCommandPlugin(1000956, GeLoadString(IDS_MENUTEST), 0, AutoBitmap("icon.tif"), String("C++ SDK Menu Test Plugin"), NewObjClear(MenuTest));
}
Example #4
0
Bool RegisterSubDialog(void)
{
	return RegisterCommandPlugin(ID_SUBDIALOGTEST, GeLoadString(IDS_SUBDIALOG), 0, nullptr, String(), NewObjClear(SubDialogTest));
}
Example #5
0
Bool RegisterListView(void)
{
	return RegisterCommandPlugin(ID_LISTVIEWTEST,GeLoadString(IDS_LISTVIEW),0,NULL,String(),gNew ListViewTest);
}
Example #6
0
Bool RegisterMemoryStat(void)
{
	return RegisterCommandPlugin(ID_MEMSTAT, String("C++ SDK - Memory Statistics"), 0, nullptr, String(), NewObjClear(MemStatCommand));
}