예제 #1
0
void CaptureContext::SaveChanges()
{
  if(m_CaptureMods & CaptureModifications::Renames)
    SaveRenames();

  if(m_CaptureMods & CaptureModifications::Bookmarks)
    SaveBookmarks();

  if(m_CaptureMods & CaptureModifications::Notes)
    SaveNotes();

  m_CaptureMods = CaptureModifications::NoModifications;
}
예제 #2
0
파일: main.cpp 프로젝트: kxepal/miranda-ng
extern "C" __declspec(dllexport) int Unload(void)
{
	CloseNotesList();
	CloseReminderList();
	SaveNotes();
	SaveReminders();
	DestroyMsgWindow();
	WS_CleanUp();
	TermSettings();

	UnhookEvent(hkFontChange);
	UnhookEvent(hkColorChange);

	UnhookEvent(hkOptInit);

	IcoLib_ReleaseIcon(g_hReminderIcon);
	DeleteObject(hBodyFont);
	DeleteObject(hCaptionFont);

	if (hRichedDll)
		FreeLibrary(hRichedDll);

	return 0;
}