Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
plugin.cpp File Reference
#include <windows.h>
#include <windowsx.h>
#include <assert.h>
#include "resource.h"
#include "plugin.h"
#include "helpers.h"
#include "guihlp.h"
#include "logger.h"
#include "scripter.h"
#include "guiprefs.h"
#include "winutils.h"

Go to the source code of this file.

Functions

BOOL CALLBACK NP_LOADDS TesterDlgProc (HWND, UINT, WPARAM, LPARAM)
CPluginBaseCreatePlugin (NPP instance, uint16 mode)
void DestroyPlugin (CPluginBase *pPlugin)

Variables

HINSTANCE hInst
CLoggerpLogger
static char szSection [] = SECTION_PREFERENCES
static char szYes [] = ENTRY_YES
static char szNo [] = ENTRY_NO
static char szStandAlonePluginWindowClassName [] = "StandAloneWindowClass"

Function Documentation

CPluginBase* CreatePlugin ( NPP  instance,
uint16  mode 
)

Definition at line 502 of file plugin.cpp.

{
  CPlugin * pPlugin = new CPlugin(instance, mode);
  return (CPluginBase *)pPlugin;
}

Here is the caller graph for this function:

void DestroyPlugin ( CPluginBase pPlugin)

Definition at line 508 of file plugin.cpp.

{
  if(pPlugin != NULL)
    delete (CPlugin *)pPlugin;
}

Here is the caller graph for this function:

Definition at line 170 of file dlgtstr.cpp.

{
  switch(msg)
  {
    case WM_INITDIALOG:
      return (BOOL)HANDLE_WM_INITDIALOG(hWnd, wParam, lParam, onInitDialog);
    case WM_COMMAND:
      HANDLE_WM_COMMAND(hWnd, wParam, lParam, onCommand);
      break;
    case WM_DESTROY:
      HANDLE_WM_DESTROY(hWnd, wParam, lParam, onDestroy);
      break;

    default:
      return FALSE;
  }
  return TRUE;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 65 of file main.cpp.

Definition at line 47 of file np_entry.cpp.

char szNo[] = ENTRY_NO [static]

Definition at line 86 of file plugin.cpp.

char szSection[] = SECTION_PREFERENCES [static]

Definition at line 84 of file plugin.cpp.

char szStandAlonePluginWindowClassName[] = "StandAloneWindowClass" [static]

Definition at line 198 of file plugin.cpp.

char szYes[] = ENTRY_YES [static]

Definition at line 85 of file plugin.cpp.