Diff of /main.cpp [9be1ae] .. [c033de] Maximize Restore

  Switch to unified view

a/main.cpp b/main.cpp
...
...
71
static void initData()
71
static void initData()
72
{
72
{
73
  memset(gData, 0, sizeof(StaticData));
73
  memset(gData, 0, sizeof(StaticData));
74
  memInit(memStatic);
74
  memInit(memStatic);
75
  memInit(memDynamic);
75
  memInit(memDynamic);
76
  DLL.initDLL = false;
76
  gData->dll.initDLL = false;
77
}
77
}
78
78
79
79
80
/**
80
/**
81
* Lock Data
81
* Lock Data
...
...
256
    || descParams->playInfo != plugInDialogDisplay )
256
    || descParams->playInfo != plugInDialogDisplay )
257
  {
257
  {
258
    return;
258
    return;
259
  }
259
  }
260
260
261
  PAN.initPrefs = false;
261
  gData->pan.initPrefs = false;
262
}
262
}
263
263
264
/**
264
/**
265
* Determine if displaying dialog box
265
* Determine if displaying dialog box
266
* @return 1 if displaying dialog, 0 if not
266
* @return 1 if displaying dialog, 0 if not
267
**/
267
**/
268
static int DoStart(void)
268
static int DoStart(void)
269
{
269
{
270
  // if scripting, check to see if user wants dialog box
270
  // if scripting, check to see if user wants dialog box
271
  if (PAN.initPrefs)
271
  if (gData->pan.initPrefs)
272
  {
272
  {
273
    checkPrefs();
273
    checkPrefs();
274
  }
274
  }
275
  if (panTools())
275
  if (panTools())
276
  {
276
  {
...
...
295
* Do Parameters
295
* Do Parameters
296
* @return none 
296
* @return none 
297
**/
297
**/
298
static void DoParameters(void)
298
static void DoParameters(void)
299
{
299
{
300
  PAN.initPrefs = false;
300
  gData->pan.initPrefs = false;
301
}
301
}
302
302
303
/**
303
/**
304
* the main entry point for the plugin
304
* the main entry point for the plugin
305
* @param[in] selector
305
* @param[in] selector