summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/!NotAdopted/StartPosition/resource.h515
-rw-r--r--plugins/!NotAdopted/StartPosition/resrc1.h44
-rw-r--r--plugins/!NotAdopted/StartPosition/testplug.dsp131
-rw-r--r--plugins/!NotAdopted/StartPosition/testplug.dsw29
-rw-r--r--plugins/StartPosition/StartPosition_11.vcxproj191
-rw-r--r--plugins/StartPosition/StartPosition_11.vcxproj.filters38
-rw-r--r--plugins/StartPosition/docs/ReadMe.txt (renamed from plugins/!NotAdopted/StartPosition/ReadMe.txt)0
-rw-r--r--plugins/StartPosition/res/Version.rc38
-rw-r--r--plugins/StartPosition/res/resource.rc (renamed from plugins/!NotAdopted/StartPosition/resource.rc)96
-rw-r--r--plugins/StartPosition/src/Version.h20
-rw-r--r--plugins/StartPosition/src/main.cpp (renamed from plugins/!NotAdopted/StartPosition/main.c)193
-rw-r--r--plugins/StartPosition/src/resource.h30
12 files changed, 363 insertions, 962 deletions
diff --git a/plugins/!NotAdopted/StartPosition/resource.h b/plugins/!NotAdopted/StartPosition/resource.h
deleted file mode 100644
index 5930b86a24..0000000000
--- a/plugins/!NotAdopted/StartPosition/resource.h
+++ /dev/null
@@ -1,515 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Developer Studio generated include file.
-// Used by resource.rc
-//
-#define IDC_AUTHICON 1
-#define IDC_NOTOALL 3
-#define IDC_APPLY 3
-#define IDI_MIRANDA 102
-#define IDD_ABOUT 103
-#define IDI_SMS 103
-#define IDI_ONLINE 104
-#define IDI_OFFLINE 105
-#define IDD_GNUPL 110
-#define IDD_ADDED 115
-#define IDD_URLSEND 119
-#define IDD_URLRECV 120
-#define IDD_AUTHREQ 121
-#define IDD_DETAILS 125
-#define IDD_OPT_CLIST 126
-#define IDD_HISTORY 127
-#define IDI_AWAY 128
-#define IDI_FREE4CHAT 129
-#define IDI_INVISIBLE 130
-#define IDI_NA 131
-#define IDD_OPT_SOUND 134
-#define IDI_SENDURL 135
-#define IDI_RECVMSG 136
-#define IDI_SENDMSG 137
-#define IDI_URL 138
-#define IDI_DND 158
-#define IDI_OCCUPIED 159
-#define IDI_USERDETAILS 160
-#define IDI_FINDUSER 161
-#define IDI_HELP 162
-#define IDI_OPTIONS 163
-#define IDI_MIRANDAWEBSITE 172
-#define IDI_RENAME 173
-#define IDI_HISTORY 174
-#define IDI_DELETE 175
-#define IDR_CONTEXT 180
-#define IDC_DROP 183
-#define IDD_OPT_HOTKEY 184
-#define IDD_HISTORY_FIND 192
-#define IDI_SENDEMAIL 193
-#define IDD_FILERECV 194
-#define IDD_PROFILEMANAGER 197
-#define IDD_NEWPROFILE 198
-#define IDR_CLISTMENU 199
-#define IDI_BLANK 200
-#define IDD_FINDADD 201
-#define IDI_USERONLINE 201
-#define IDD_OPT_AUTOAWAY 202
-#define IDI_GROUPSHUT 202
-#define IDD_OPTIONS 203
-#define IDI_GROUPOPEN 203
-#define IDD_PLUGINCONFLICT 204
-#define IDD_FILESEND 205
-#define IDI_NOTICK 205
-#define IDD_OPT_PLUGINS 206
-#define IDI_TICK 206
-#define IDD_OPT_ICONS 207
-#define IDI_FILE 207
-#define IDI_TIMESTAMP 208
-#define IDI_CHANGEFONT 209
-#define IDI_ADDCONTACT 210
-#define IDI_SMALLDOT 211
-#define IDI_FILLEDBLOB 212
-#define IDD_READAWAYMSG 213
-#define IDI_EMPTYBLOB 213
-#define IDD_OPT_IGNORE 214
-#define IDC_HYPERLINKHAND 214
-#define IDD_OPT_VISIBILITY 215
-#define IDC_DROPUSER 215
-#define IDD_SETAWAYMSG 216
-#define IDI_DETAILSLOGO 216
-#define IDD_OPT_AWAYMSG 217
-#define IDD_OPT_CLUI 218
-#define IDD_INFO_SUMMARY 220
-#define IDD_INFO_CONTACT 221
-#define IDR_CREDITS 221
-#define IDD_INFO_BACKGROUND 222
-#define IDD_INFO_NOTES 223
-#define IDD_ADDEMAIL 226
-#define IDD_ICONINDEX 227
-#define IDD_OPT_CLC 228
-#define IDD_OPT_CLCTEXT 229
-#define IDD_OPT_CLCBKG 230
-#define IDD_INFO_LOCATION 231
-#define IDD_INFO_WORK 232
-#define IDD_ADDPHONE 233
-#define IDD_OPT_SBAR 234
-#define IDD_INSTALLINI 235
-#define IDD_WARNINICHANGE 236
-#define IDD_INIIMPORTDONE 237
-#define IDD_OPT_CLCTEXTSIMPLE 239
-#define IDB_SORTCOLUP 239
-#define IDB_SORTCOLDOWN 240
-#define IDD_OPT_NETLIB 246
-#define IDD_NETLIBLOGOPTS 247
-#define IDD_FILETRANSFERINFO 249
-#define IDD_OPT_FILETRANSFER 250
-#define IDD_FILEEXISTS 251
-#define IDD_DELETECONTACT 254
-#define IDD_DENYREASON 256
-#define IDD_ADDCONTACT 257
-#define IDD_OPT_CONTACT 261
-#define IDI_MULTISEND 263
-#define IDI_DOWNARROW 264
-#define IDD_CREDITS 265
-#define IDC_SAVE 1001
-#define IDI_ONTHEPHONE 1002
-#define IDC_MESSAGE 1002
-#define IDI_OUTTOLUNCH 1003
-#define IDC_AUTOCLOSE 1004
-#define IDC_FROM 1005
-#define IDC_AUTOMIN 1005
-#define IDC_DATE 1006
-#define IDC_DUMPRECV 1006
-#define IDC_MSG 1008
-#define IDC_PROXYDNS 1008
-#define IDC_NAME 1009
-#define IDC_PROXYTYPE 1009
-#define IDC_STATIC23 1010
-#define IDC_SPECIFYPORTS 1013
-#define IDC_ST_ENTERMSG 1013
-#define IDC_ST_ENTERURL 1014
-#define IDC_SPECIFYPORTSO 1014
-#define IDC_TEXT 1019
-#define IDC_SHOWNAMES 1024
-#define IDC_ABOUT 1032
-#define IDC_MYNOTES 1033
-#define IDC_URLS 1037
-#define IDC_REPLY 1039
-#define IDC_URL 1041
-#define IDC_REASON 1046
-#define IDC_EMAIL 1048
-#define IDC_NAMENICK 1049
-#define IDC_NAMEFIRST 1050
-#define IDC_NAMELAST 1051
-#define IDC_NICK 1053
-#define IDC_GENDER 1060
-#define IDC_CITY 1061
-#define IDC_STATE 1062
-#define IDC_COUNTRY 1063
-#define IDC_AGE 1064
-#define IDC_ZIP 1064
-#define IDC_PHONE 1065
-#define IDC_STREET 1065
-#define IDC_COMPANY 1066
-#define IDC_LANGUAGE1 1066
-#define IDC_TIMEZONE 1067
-#define IDC_DEPARTMENT 1067
-#define IDC_LOCALTIME 1068
-#define IDC_DETAILS 1069
-#define IDC_POSITION 1069
-#define IDC_LANGUAGE2 1069
-#define IDC_ADD 1070
-#define IDC_LANGUAGE3 1070
-#define IDC_MOREOPTIONS 1071
-#define IDC_USERMENU 1071
-#define IDC_MIN2TRAY 1073
-#define IDC_ONTOP 1074
-#define IDC_SHOWMAINMENU 1075
-#define IDC_CLIENTDRAG 1076
-#define IDC_EDIT 1078
-#define IDC_LIST 1079
-#define IDC_HISTORY 1080
-#define IDC_USESOUND 1085
-#define IDC_TOOLWND 1097
-#define IDC_ONECLK 1098
-#define IDC_SHOWCAPTION 1098
-#define IDC_HIDEOFFLINE 1099
-#define IDC_SHOWHIDE 1100
-#define IDC_HIDEEMPTYGROUPS 1100
-#define IDC_SORTBYSTATUS 1101
-#define IDC_FADEINOUT 1101
-#define IDC_READMSG 1102
-#define IDC_AUTOSIZE 1102
-#define IDC_DISABLEGROUPS 1102
-#define IDC_AUTOSIZEUPWARD 1103
-#define IDC_ALWAYSSTATUS 1103
-#define IDC_NETSEARCH 1104
-#define IDC_CONFIRMDELETE 1104
-#define IDC_SORTBYPROTO 1105
-#define IDC_SHOWOPTIONS 1105
-#define IDC_SEARCHURL 1106
-#define IDC_BUILDTIME 1108
-#define IDC_NUMBER 1113
-#define IDC_UIN 1123
-#define IDC_TRANSPARENT 1124
-#define IDC_TRANSINACTIVE 1126
-#define IDC_TRANSACTIVE 1128
-#define IDC_FINDWHAT 1131
-#define IDC_FIND 1132
-#define IDC_FILE 1133
-#define IDC_PROFILELIST 1134
-#define IDC_NEWPROFILE 1135
-#define IDC_NEWPROFILENAME 1136
-#define IDC_TABS 1141
-#define IDC_RESULTS 1142
-#define IDC_STATUS 1144
-#define IDC_SCREENSAVE 1145
-#define IDC_TIMED 1146
-#define IDC_AWAYTIME 1147
-#define IDC_IDLETIME 1157
-#define IDC_USEPROXY 1148
-#define IDC_SETNA 1148
-#define IDC_SETIDLE 1158
-#define IDC_PROXYAUTH 1149
-#define IDC_NATIME 1149
-#define IDC_PROXYHOST 1150
-#define IDC_PROXYPORT 1151
-#define IDC_PROXYUSER 1152
-#define IDC_PROXYPASS 1153
-#define IDC_STATIC11 1154
-#define IDC_STATIC12 1155
-#define IDC_STATIC21 1156
-#define IDC_STATIC22 1157
-#define IDC_STATIC31 1158
-#define IDC_STATIC32 1159
-#define IDC_PROXYAUTHNTLM 1160
-#define IDC_HKSHOWHIDE 1162
-#define IDC_HKREADMSG 1163
-#define IDC_SOUNDLIST 1163
-#define IDC_HKSEARCH 1164
-#define IDC_CHANGE 1164
-#define IDC_PREVIEW 1165
-#define IDC_HKSHOWOPTIONS 1165
-#define IDC_PLUGINLIST 1167
-#define IDC_FEATURENAME 1168
-#define IDC_CHOOSE 1169
-#define IDC_TO 1170
-#define IDC_ABOUTGROUP 1175
-#define IDC_DESCRIPTION 1176
-#define IDC_AUTHOR 1177
-#define IDC_COPYRIGHT 1178
-#define IDC_VERSION 1179
-#define IDC_HOMEPAGE 1181
-#define IDC_RESTARTREQD 1182
-#define IDC_ICONSET 1183
-#define IDC_BROWSE 1184
-#define IDC_RUNATSTARTBROWSE 1185
-#define IDC_PAGETREE 1186
-#define IDC_RUNNOW 1186
-#define IDC_INACTIVEPERC 1187
-#define IDC_ACTIVEPERC 1188
-#define IDC_SEARCHNEWWND 1188
-#define IDC_RETRIEVING 1193
-#define IDC_TITLETEXT 1196
-#define IDC_GETMORE 1200
-#define IDC_VISIBLEICON 1204
-#define IDC_INVISIBLEICON 1205
-#define IDC_FILEICON 1206
-#define IDC_ONLINEICON 1207
-#define IDC_FILENAMES 1208
-#define IDC_ALLICON 1208
-#define IDC_DONTREPLY 1209
-#define IDC_NONEICON 1209
-#define IDC_USEPREVIOUS 1210
-#define IDC_NODIALOG 1211
-#define IDC_USESPECIFIC 1212
-#define IDC_FILEDIR 1213
-#define IDC_ALLFILESPROGRESS 1217
-#define IDC_CURRENTSPEED 1219
-#define IDC_STAWAYTYPE 1220
-#define IDC_WHITERECT 1221
-#define IDC_ALLSPEED 1221
-#define IDC_CURRENTFILEPROGRESS 1222
-#define IDC_CURRENTFILEGROUP 1223
-#define IDC_FIRSTNAME 1224
-#define IDC_LASTNAME 1225
-#define IDC_CURRENTTRANSFERRED 1225
-#define IDC_DOBDAY 1226
-#define IDC_DOBMONTH 1227
-#define IDC_WEBPAGE 1228
-#define IDC_DOBYEAR 1228
-#define IDC_UPDATING 1231
-#define IDC_NAMEORDER 1234
-#define IDC_AUTOHIDE 1235
-#define IDC_HIDETIME 1236
-#define IDC_RECONNECTREQD 1239
-#define IDC_IMPORT 1241
-#define IDC_TOMAIN 1243
-#define IDC_TOPROTO 1244
-#define IDC_PROTOLIST 1245
-#define IDC_TODEFICON 1246
-#define IDC_IMPORTMULTI 1247
-#define IDC_MAXSIZEHEIGHT 1254
-#define IDC_MAXSIZESPIN 1255
-#define IDC_FONTID 1256
-#define IDC_SAMETYPE 1257
-#define IDC_SAMESTYLE 1258
-#define IDC_SAMECOLOUR 1259
-#define IDC_SAMEAS 1260
-#define IDC_TYPEFACE 1261
-#define IDC_BOLD 1262
-#define IDC_ITALIC 1263
-#define IDC_COLOUR 1264
-#define IDC_UNDERLINE 1265
-#define IDC_HOTCOLOUR 1267
-#define IDC_SAMESIZE 1268
-#define IDC_BKGCOLOUR 1269
-#define IDC_FILENAME 1271
-#define IDC_SCROLL 1277
-#define IDC_PROPORTIONAL 1278
-#define IDC_SELCOLOUR 1281
-#define IDC_QUICKCOLOUR 1282
-#define IDC_SMOOTHTIME 1283
-#define IDC_SMOOTHTIMESPIN 1284
-#define IDC_GREYOUT 1285
-#define IDC_ROWHEIGHT 1285
-#define IDC_ROWHEIGHTSPIN 1286
-#define IDC_GREYOUTOPTS 1288
-#define IDC_GROUPINDENT 1289
-#define IDC_GROUPINDENTSPIN 1290
-#define IDC_LEFTMARGIN 1291
-#define IDC_SAMPLE 1292
-#define IDC_LEFTMARGINSPIN 1292
-#define IDC_FONTSIZE 1293
-#define IDC_STRETCHH 1298
-#define IDC_STRETCHV 1299
-#define IDC_TILEH 1300
-#define IDC_SCRIPT 1300
-#define IDC_TILEV 1301
-#define IDC_GAMMACORRECT 1302
-#define IDC_INTERESTS 1305
-#define IDC_EMAILS 1306
-#define IDC_PAST 1307
-#define IDC_HIDEOFFLINEOPTS 1308
-#define IDC_PHONES 1308
-#define IDC_SMS 1310
-#define IDC_AREA 1312
-#define IDC_UPDATE 1313
-#define IDC_DONTCYCLE 1315
-#define IDC_PRIMARYSTATUS 1316
-#define IDC_CYCLE 1317
-#define IDC_CYCLETIME 1318
-#define IDC_CYCLETIMESPIN 1319
-#define IDC_HIDETIMESPIN 1320
-#define IDC_MULTITRAY 1321
-#define IDC_ALWAYSMULTI 1322
-#define IDC_SHOWICON 1323
-#define IDC_SHOWPROTO 1324
-#define IDC_SHOWSTATUS 1325
-#define IDC_EQUALSECTIONS 1326
-#define IDC_SHOWSBAR 1329
-#define IDC_RIGHTMIRANDA 1330
-#define IDC_RIGHTSTATUS 1331
-#define IDC_ININAME 1333
-#define IDC_VIEWINI 1334
-#define IDC_SECURITYINFO 1335
-#define IDC_SETTINGNAME 1336
-#define IDC_NEWVALUE 1337
-#define IDC_WARNNOMORE 1338
-#define IDC_DELETE 1339
-#define IDC_RECYCLE 1340
-#define IDC_NEWNAME 1341
-#define IDC_MOVE 1342
-#define IDC_LEAVE 1343
-#define IDC_EXPERT 1346
-#define IDC_SORTBYNAME 1347
-#define IDC_STAUTOHIDESECS 1349
-#define IDC_STCLISTGROUP 1350
-#define IDC_DISABLEDRAGDROP 1351
-#define IDC_NOTEDITLABELS 1352
-#define IDC_SHOWSELALWAYS 1353
-#define IDC_TRACKSELECT 1354
-#define IDC_SHOWGROUPCOUNTS 1355
-#define IDC_HIDECOUNTSWHENEMPTY 1356
-#define IDC_DIVIDERONOFF 1357
-#define IDC_NOTNOTRANSLUCENTSEL 1358
-#define IDC_LINEWITHGROUPS 1359
-#define IDC_QUICKSEARCHVISONLY 1360
-#define IDC_SORTGROUPSALPHA 1361
-#define IDC_NOTNOSMOOTHSCROLLING 1362
-#define IDC_BITMAP 1363
-#define IDC_STWINDOWGROUP 1364
-#define IDC_STATIC01 1365
-#define IDC_CATEGORYLIST 1366
-#define IDC_LOADICONS 1369
-#define IDC_STICONSGROUP 1371
-#define IDC_MSGICON 1375
-#define IDC_URLICON 1376
-#define IDC_STNOPAGE 1377
-#define IDC_STCHECKMARKS 1380
-#define IDC_STSAMETEXT 1382
-#define IDC_STASTEXT 1383
-#define IDC_STSIZETEXT 1384
-#define IDC_STCOLOURTEXT 1385
-#define IDC_STHORZBAR 1386
-#define IDC_MIRANDA 1388
-#define IDC_STATUSBAR 1389
-#define IDC_PROTOIDGROUP 1392
-#define IDC_BYPROTOID 1393
-#define IDC_PROTOID 1394
-#define IDC_EMAILGROUP 1395
-#define IDC_BYEMAIL 1396
-#define IDC_STNAMENICK 1397
-#define IDC_NAMEGROUP 1398
-#define IDC_BYNAME 1399
-#define IDC_STNAMEFIRST 1400
-#define IDC_STNAMELAST 1401
-#define IDC_ADVANCEDGROUP 1402
-#define IDC_BYADVANCED 1403
-#define IDC_ADVANCED 1404
-#define IDC_STSIMPLERIGHT 1440
-#define IDC_NETLIBUSERS 1443
-#define IDC_STOFTENPORT 1445
-#define IDC_STATIC51 1446
-#define IDC_STATIC52 1447
-#define IDC_STATIC43 1448
-#define IDC_LOGOPTIONS 1449
-#define IDC_PORTSRANGE 1450
-#define IDC_TOCONSOLE 1451
-#define IDC_STATIC53 1451
-#define IDC_SHOWCONSOLEATSTART 1452
-#define IDC_PORTSRANGEO 1452
-#define IDC_STATIC54 1453
-#define IDC_SHOWCONSOLE 1454
-#define IDC_TOOUTPUTDEBUGSTRING 1455
-#define IDC_TOFILE 1456
-#define IDC_CLEARCONSOLE 1457
-#define IDC_RUNATSTART 1458
-#define IDC_DUMPSENT 1464
-#define IDC_DUMPPROXY 1466
-#define IDC_TEXTDUMPS 1467
-#define IDC_AUTODETECTTEXT 1468
-#define IDC_TIMEFORMAT 1469
-#define IDC_FILENAMEBROWSE 1470
-#define IDC_SHOWTHISDLGATSTART 1471
-#define IDC_FILEDIRBROWSE 1475
-#define IDC_ALLFILESGROUP 1476
-#define IDC_SCANCMDLINEBROWSE 1476
-#define IDC_ALLTRANSFERRED 1477
-#define IDC_OPENFOLDER 1478
-#define IDC_OPENFILE 1479
-#define IDC_TOTALSIZE 1480
-#define IDC_APPENDNICKTODIR 1483
-#define IDC_AUTOACCEPT 1484
-#define IDC_SCANCMDLINE 1485
-#define IDC_WARNBEFOREOPENING 1488
-#define IDC_SCANDURINGDL 1489
-#define IDC_SCANAFTERDL 1490
-#define IDC_NOSCANNER 1491
-#define IDC_ST_CMDLINE 1492
-#define IDC_ST_CMDLINEHELP 1493
-#define IDC_PROPERTIES 1496
-#define IDC_RESUME 1497
-#define IDC_EXISTINGICON 1499
-#define IDC_RESUMEALL 1500
-#define IDC_OVERWRITE 1501
-#define IDC_OVERWRITEALL 1502
-#define IDC_SKIP 1503
-#define IDC_EXISTINGSIZE 1506
-#define IDC_EXISTINGDATE 1507
-#define IDC_EXISTINGTYPE 1508
-#define IDC_NEWICON 1509
-#define IDC_NEWSIZE 1510
-#define IDC_NEWDATE 1511
-#define IDC_NEWTYPE 1512
-#define IDC_SAVEAS 1513
-#define IDC_ASK 1516
-#define IDC_RENAME 1519
-#define IDC_VIRUSSCANNERGROUP 1520
-#define IDC_HIDE 1534
-#define IDC_TOPLINE 1535
-#define IDC_GPLBTN 1536
-#define IDC_MAIL 1536
-#define IDC_MYHANDLE 1540
-#define IDC_GROUP 1541
-#define IDC_ADDED 1542
-#define IDC_AUTH 1543
-#define IDC_PLUGINSTATIC1 1559
-#define IDC_DELETEHISTORY 1560
-#define IDC_HOTKEYURLSTR 1567
-#define IDC_SETNASTR 1568
-#define IDC_SETIDLESTR 1578
-#define IDC_AAUTHOR 1569
-#define IDC_AHOMEPAGE 1570
-#define IDC_AVERSION 1571
-#define IDC_ACOPYRIGHT 1572
-#define IDC_ADESCRIPTION 1573
-#define IDC_PLUGINENABLE 1574
-#define IDC_AUTHREQ 1577
-#define IDC_AUTHGB 1578
-#define IDC_BRINGTOFRONT 1579
-#define IDC_PROTOCOL 1580
-#define IDC_CONTRIBLINK 1586
-#define IDC_HOMELINK 1587
-#define IDC_SUPPORTLINK 1588
-#define IDC_DEVS 1589
-#define IDC_GPL 1590
-#define IDC_LOGO 1591
-#define IDC_CREDITSTEXT 1595
-#define IDC_WSLOCK 1599
-#define IDC_PRIVACY 1600
-#define IDC_BLINKTIME 1607
-#define IDC_BLINKSPIN 1608
-#define IDC_DISABLEBLINK 1609
-#define IDC_IDLE 1610
-#define IDC_SBPANELBEVEL 1611
-#define IDC_DROPSHADOW 1612
-#define IDC_NOSCROLLBAR 1613
-#define IDI_SEARCHALL 32548
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 267
-#define _APS_NEXT_COMMAND_VALUE 40018
-#define _APS_NEXT_CONTROL_VALUE 1614
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/plugins/!NotAdopted/StartPosition/resrc1.h b/plugins/!NotAdopted/StartPosition/resrc1.h
deleted file mode 100644
index 1a2cfc54a0..0000000000
--- a/plugins/!NotAdopted/StartPosition/resrc1.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Developer Studio generated include file.
-// Used by resource.rc
-//
-#define IDD_OPT_STARTPOS 202
-#define IDC_TEXT1 1614
-#define IDC_TEXT2 1615
-#define IDC_TEXT3 1616
-#define IDC_TEXT4 1617
-#define IDC_MTOP 1618
-#define IDC_CLTOP 1618
-#define IDC_MBOTTOM 1619
-#define IDC_CLBOTTOM 1619
-#define IDC_MSIDE 1620
-#define IDC_CLSIDE 1620
-#define IDC_MUSELASTWIDTH 1621
-#define IDC_CLUSELASTWIDTH 1621
-#define IDC_MWIDTH 1622
-#define IDC_CLWIDTH 1622
-#define IDC_TEXT5 1623
-#define IDC_MLEFT 1624
-#define IDC_CLALIGN1 1624
-#define IDC_MRIGHT 1625
-#define IDC_CLALIGN2 1625
-#define IDC_CLTOPENABLE 1626
-#define IDC_CLENABLE 1627
-#define IDC_CLSTATE0 1627
-#define IDC_CLBOTTOMENABLE 1628
-#define IDC_CLSIDEENABLE 1629
-#define IDC_CLWIDTHENABLE 1630
-#define IDC_CLSTATEENABLE 1631
-#define IDC_CLSTATE2 1632
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NO_MFC 1
-#define _APS_NEXT_RESOURCE_VALUE 267
-#define _APS_NEXT_COMMAND_VALUE 40018
-#define _APS_NEXT_CONTROL_VALUE 1631
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/plugins/!NotAdopted/StartPosition/testplug.dsp b/plugins/!NotAdopted/StartPosition/testplug.dsp
deleted file mode 100644
index dde2ebc852..0000000000
--- a/plugins/!NotAdopted/StartPosition/testplug.dsp
+++ /dev/null
@@ -1,131 +0,0 @@
-# Microsoft Developer Studio Project File - Name="testplug" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=testplug - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "testplug.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "testplug.mak" CFG="testplug - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "testplug - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "testplug - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "testplug - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TESTPLUG_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TESTPLUG_EXPORTS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x809 /d "NDEBUG"
-# ADD RSC /l 0x809 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /entry:"DllMain" /dll /machine:I386 /nodefaultlib /out:"Release/start_position.dll"
-
-!ELSEIF "$(CFG)" == "testplug - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TESTPLUG_EXPORTS" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TESTPLUG_EXPORTS" /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x809 /d "_DEBUG"
-# ADD RSC /l 0x809 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"Debug/start_position.dll" /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "testplug - Win32 Release"
-# Name "testplug - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\main.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=..\..\AggressiveOptimize.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\headers_c\m_clist.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\headers_c\m_database.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resrc1.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\resource.rc
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/plugins/!NotAdopted/StartPosition/testplug.dsw b/plugins/!NotAdopted/StartPosition/testplug.dsw
deleted file mode 100644
index da081a21f7..0000000000
--- a/plugins/!NotAdopted/StartPosition/testplug.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "testplug"=".\testplug.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/plugins/StartPosition/StartPosition_11.vcxproj b/plugins/StartPosition/StartPosition_11.vcxproj
new file mode 100644
index 0000000000..ca6e632498
--- /dev/null
+++ b/plugins/StartPosition/StartPosition_11.vcxproj
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{046C5F80-ABE5-488F-BFC8-B024D4AACC8C}</ProjectGuid>
+ <ProjectName>StartPosition</ProjectName>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <PlatformToolset>v110</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <PlatformToolset>v110</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <PlatformToolset>v110</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <PlatformToolset>v110</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <IgnoreImportLibrary>true</IgnoreImportLibrary>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <StringPooling>true</StringPooling>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <Optimization>Full</Optimization>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <LinkDLL>true</LinkDLL>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <StringPooling>true</StringPooling>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <Optimization>Full</Optimization>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <LinkDLL>true</LinkDLL>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <AdditionalOptions>/PDBALTPATH:%_PDB% %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <FunctionLevelLinking>false</FunctionLevelLinking>
+ <Optimization>Disabled</Optimization>
+ <WarningLevel>Level3</WarningLevel>
+ <MinimalRebuild>true</MinimalRebuild>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <LinkDLL>true</LinkDLL>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <FunctionLevelLinking>false</FunctionLevelLinking>
+ <Optimization>Disabled</Optimization>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <LinkDLL>true</LinkDLL>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\resource.rc" />
+ <ResourceCompile Include="res\Version.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="src\main.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\resource.h" />
+ <ClInclude Include="src\Version.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/StartPosition/StartPosition_11.vcxproj.filters b/plugins/StartPosition/StartPosition_11.vcxproj.filters
new file mode 100644
index 0000000000..f94ffb1214
--- /dev/null
+++ b/plugins/StartPosition/StartPosition_11.vcxproj.filters
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{d083a117-c873-4360-9fb2-949bb52876fa}</UniqueIdentifier>
+ <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{7eaa0c54-3e4d-43c7-ad4c-e25d03e01f5a}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{f7f3bc83-2d6e-4710-b6a2-8057f48e432e}</UniqueIdentifier>
+ <Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\resource.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ <ResourceCompile Include="res\Version.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="src\main.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\resource.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\Version.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/!NotAdopted/StartPosition/ReadMe.txt b/plugins/StartPosition/docs/ReadMe.txt
index b4eb55ddab..b4eb55ddab 100644
--- a/plugins/!NotAdopted/StartPosition/ReadMe.txt
+++ b/plugins/StartPosition/docs/ReadMe.txt
diff --git a/plugins/StartPosition/res/Version.rc b/plugins/StartPosition/res/Version.rc
new file mode 100644
index 0000000000..5bfbab4754
--- /dev/null
+++ b/plugins/StartPosition/res/Version.rc
@@ -0,0 +1,38 @@
+// Microsoft Visual C++ generated resource script.
+//
+#ifdef APSTUDIO_INVOKED
+#error this file is not editable by Microsoft Visual C++
+#endif //APSTUDIO_INVOKED
+
+#include "afxres.h"
+#include "..\src\version.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION __FILEVERSION_STRING
+ PRODUCTVERSION __FILEVERSION_STRING
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "FileDescription", __DESCRIPTION
+ VALUE "InternalName", __PLUGIN_NAME
+ VALUE "LegalCopyright", __COPYRIGHT
+ VALUE "OriginalFilename", __FILENAME
+ VALUE "ProductName", __PLUGIN_NAME
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END
diff --git a/plugins/!NotAdopted/StartPosition/resource.rc b/plugins/StartPosition/res/resource.rc
index 7264f2ef3b..c54009e6ed 100644
--- a/plugins/!NotAdopted/StartPosition/resource.rc
+++ b/plugins/StartPosition/res/resource.rc
@@ -1,52 +1,35 @@
//Microsoft Developer Studio generated resource script.
//
-#include "resrc1.h"
+#include "..\src\resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#include "resource.h"
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-// Czech resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CSY)
-#ifdef _WIN32
-LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
-#pragma code_page(1250)
-#endif //_WIN32
-
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
-1 TEXTINCLUDE DISCARDABLE
+1 TEXTINCLUDE
BEGIN
- "resrc1.h\0"
+ "..\\src\\resource.h\0"
END
-2 TEXTINCLUDE DISCARDABLE
+2 TEXTINCLUDE
BEGIN
- "#include ""resource.h""\r\n"
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""winres.h""\r\n"
"\0"
END
-3 TEXTINCLUDE DISCARDABLE
+3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
@@ -54,19 +37,6 @@ END
#endif // APSTUDIO_INVOKED
-#endif // Czech resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
@@ -111,7 +81,7 @@ END
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
+GUIDELINES DESIGNINFO
BEGIN
IDD_OPTIONS, DIALOG
BEGIN
@@ -122,57 +92,6 @@ BEGIN
END
#endif // APSTUDIO_INVOKED
-
-#ifndef _MAC
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,2,0,0
- PRODUCTVERSION 0,2,0,0
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "000004b0"
- BEGIN
- VALUE "Comments", "Licensed under the terms of the GNU General Public License\0"
- VALUE "CompanyName", " \0"
- VALUE "FileDescription", "Miranda IM Plugin: Window Start Position\0"
- VALUE "FileVersion", "0.2.0.0\0"
- VALUE "InternalName", "start_position\0"
- VALUE "LegalCopyright", "Copyright © 2005 Felipe Brahm / souFrag\0"
- VALUE "LegalTrademarks", "\0"
- VALUE "OriginalFilename", "start_position.dll\0"
- VALUE "PrivateBuild", "\0"
- VALUE "ProductName", "Window Start Position\0"
- VALUE "ProductVersion", "0.2.0.0\0"
- VALUE "SpecialBuild", "\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x0, 1200
- END
-END
-
-#endif // !_MAC
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
@@ -181,5 +100,4 @@ END
/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+#endif // not APSTUDIO_INVOKED \ No newline at end of file
diff --git a/plugins/StartPosition/src/Version.h b/plugins/StartPosition/src/Version.h
new file mode 100644
index 0000000000..17b44ffa61
--- /dev/null
+++ b/plugins/StartPosition/src/Version.h
@@ -0,0 +1,20 @@
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 2
+#define __RELEASE_NUM 0
+#define __BUILD_NUM 3
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+
+#define __STRINGIFY_IMPL(x) #x
+#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
+#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
+
+#define __PLUGIN_NAME "Window Start Position"
+#define __INTERNAL_NAME "StartPosition"
+#define __FILENAME "StartPosition.dll"
+#define __DESCRIPTION "Plugin supports starting position of Contact List relative to the the taskbar and screen side."
+#define __AUTHOR "Felipe Brahm - souFrag"
+#define __AUTHOREMAIL "felipebrahm@gmail.com"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "©2005-2008 Felipe Brahm - souFrag"
diff --git a/plugins/!NotAdopted/StartPosition/main.c b/plugins/StartPosition/src/main.cpp
index 1bc895d733..934d92236f 100644
--- a/plugins/!NotAdopted/StartPosition/main.c
+++ b/plugins/StartPosition/src/main.cpp
@@ -1,13 +1,4 @@
/*
-Miranda plugin template, originally by Richard Hughes
-http://miranda-icq.sourceforge.net/
-
-This file is placed in the public domain. Anybody is free to use or
-modify it as they wish with no restriction.
-There is no warranty.
-*/
-
-/*
PLEASE CONTACT ME FIRST IF YOU WANT TO USE PART OF MY CODE IN YOUR OWN WORK :-)
@@ -19,90 +10,55 @@ You cand send me an e-mail from my webpage :-)
*/
-#include "../../AggressiveOptimize.h"
-
#include <windows.h>
#include <stdio.h>
-//#include <afxwin.h>
-#include "resource.h"
-#include "resrc1.h"
-
-/*
-#include "../miranda_src/SDK/Headers_c/newpluginapi.h"
-#include "../miranda_src/SDK/Headers_c/m_skin.h"
-#include "../miranda_src/SDK/Headers_c/m_langpack.h"
-#include "../miranda_src/SDK/Headers_c/m_database.h"
-#include "../miranda_src/SDK/Headers_c/m_options.h"
-#include "../miranda_src/SDK/Headers_c/m_utils.h"
-*/
+#include <newpluginapi.h>
+#include <m_langpack.h>
+#include <m_database.h>
+#include <m_options.h>
-#include "../../headers_c/newpluginapi.h"
-#include "../../headers_c/m_langpack.h"
-#include "../../headers_c/m_database.h"
-#include "../../headers_c/m_options.h"
-//#include "../../headers_c/m_utils.h"
-
-//#include "../../headers_c/m_clist.h"
-//#include "../../headers_c/m_skin.h"
+#include "resource.h"
+#include "version.h"
#define dbERROR -999999
#define RIGHT 1
#define LEFT 0
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+int hLangpack;
PLUGININFOEX pluginInfo = {
-
sizeof(PLUGININFOEX),
- "Window Start Position",
- PLUGIN_MAKE_VERSION(0,2,0,2),
- "Makes the Contact List always start on the right or left of the screen, X pixels away from the taskbar, from the top (or bottom dependig where you have the taskbar), and from the right of the screen. It uses the same clWidth the clist had when you last closed Miranda. You may choose whether to start Miranda minimized to System Tray or not.",
- "Felipe Brahm - souFrag",
- "felipebrahm <at> gmail <dot> com",
- "©2005-2008 Felipe Brahm - souFrag",
- "http://www.felipebrahm.com/",
- 0, //not transient
- 0, //doesn't replace anything built-in
-
- { 0x211f6277, 0x6f9b, 0x4b77, { 0xa9, 0x39, 0x84, 0xd0, 0x4b, 0x26, 0xb3, 0x8c } } // {211F6277-6F9B-4b77-A939-84D04B26B38C}
-
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE,
+ // {211F6277-6F9B-4b77-A939-84D04B26B38C}
+ {0x211f6277, 0x6f9b, 0x4b77, {0xa9, 0x39, 0x84, 0xd0, 0x4b, 0x26, 0xb3, 0x8c}}
};
-BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
- hInst=hinstDLL;
+ hInst = hinstDLL;
return TRUE;
}
-/*static int PluginMenuCommand(WPARAM wParam,LPARAM lParam)
-{
- MessageBox(NULL,"Just groovy, baby!","Plugin-o-rama",MB_OK);
- return 0;
-}*/
-
-__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
-#define MIID_WINDOWPOSITION { 0x219d0d15, 0xd8e0, 0x4634, { 0xba, 0xa8, 0x94, 0x6a, 0xf1, 0x8f, 0x13, 0x83 } } // {219D0D15-D8E0-4634-BAA8-946AF18F1383}
-
-static const MUUID interfaces[] = {MIID_WINDOWPOSITION, MIID_LAST};
-__declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
-static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
case WM_INITDIALOG:
{
- //DBVARIANT dbv;
-
TranslateDialogDefault(hwndDlg);
if(DBGetContactSettingByte(NULL,"WindowStartPosition","CLState",2))
@@ -127,22 +83,9 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
SetDlgItemInt(hwndDlg,IDC_CLSIDE,DBGetContactSettingDword(NULL,"WindowStartPosition","CLpixelsSide",3),TRUE);
SetDlgItemInt(hwndDlg,IDC_CLWIDTH,DBGetContactSettingDword(NULL,"WindowStartPosition","CLWidth",180),FALSE);
- //SetDlgItemText(hwndDlg,IDC_TEXTO,Translate("algún texto"));
-
- //EnableWindow(GetDlgItem(hwndDlg,IDC_AWAYTIME),IsDlgButtonChecked(hwndDlg,IDC_TIMED));
-
return TRUE;
}
case WM_COMMAND:
- /*switch(LOWORD(wParam)) {
- case IDC_TIMED:
- EnableWindow(GetDlgItem(hwndDlg,IDC_AWAYTIME),IsDlgButtonChecked(hwndDlg,IDC_TIMED));
- EnableWindow(GetDlgItem(hwndDlg,IDC_STAWAYTYPE),IsDlgButtonChecked(hwndDlg,IDC_TIMED));
- break;
- case IDC_SETNA:
- EnableWindow(GetDlgItem(hwndDlg,IDC_NATIME),IsDlgButtonChecked(hwndDlg,IDC_SETNA));
-
- }*/
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
case WM_NOTIFY:
@@ -156,16 +99,6 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
DBDeleteContactSetting(NULL,"WindowStartPosition","CLEnable");
DBDeleteContactSetting(NULL,"WindowStartPosition","CLuseLastWidth");
-
- /*
- DBDeleteContactSetting(NULL,"CListStartPosition","pixelsTop");
- DBDeleteContactSetting(NULL,"CListStartPosition","pixelsBottom");
- DBDeleteContactSetting(NULL,"CListStartPosition","pixelsSide");
- DBDeleteContactSetting(NULL,"CListStartPosition","align");
- DBDeleteContactSetting(NULL,"CListStartPosition","useLastWidth");
- DBDeleteContactSetting(NULL,"CListStartPosition","width");
- */
-
}
/*end uninstall old settings*/
@@ -198,55 +131,33 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
return FALSE;
}
-int OptInit(WPARAM wParam,LPARAM lParam)
+int OptInit(WPARAM wParam, LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp;
-
- ZeroMemory(&odp,sizeof(odp));
- odp.cbSize=sizeof(odp);
- odp.position=0;
- odp.hInstance=hInst;
- odp.pszTemplate=MAKEINTRESOURCE(IDD_OPTIONS);
- odp.pszGroup= Translate("Contact List");
- odp.pszTitle= Translate("Window Start Position");
- odp.pfnDlgProc=OptionsDlgProc;
- odp.expertOnlyControls=NULL;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ OPTIONSDIALOGPAGE odp = {0};
+ odp.cbSize = sizeof(odp);
+ odp.position = 0;
+ odp.hInstance = hInst;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
+ odp.pszGroup = LPGEN("Contact List");
+ odp.pszTitle = LPGEN("Window Start Position");
+ odp.pfnDlgProc = OptionsDlgProc;
+ odp.flags = ODPF_BOLDGROUPS;
+ Options_AddPage(wParam, &odp);
return 0;
}
-int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- //CLISTMENUITEM mi;
+ mir_getLP(&pluginInfo);
+
RECT WorkArea;
- /*
- RECT is as this: (i think it's in windows.h)
- typedef struct _RECT {
- LONG left;
- LONG top;
- LONG right;
- LONG bottom;
- } RECT, *PRECT;
- */
+
int clWidth=0;
int clTop, clBottom, clSide; //pixels from top, bottom, side
int clAlign;
int clEnableTop, clEnableBottom, clEnableSide, clEnableWidth, clEnableState;
- int clState; //minimizado == 0.
- //int mX,mY,mH,mW;
- //char s[10];
-
- pluginLink=link;
- /*CreateServiceFunction("TestPlug/MenuCommand",PluginMenuCommand);
- ZeroMemory(&mi,sizeof(mi));
- mi.cbSize=sizeof(mi);
- mi.position=-0x7FFFFFFF;
- mi.flags=0;
- mi.hIcon=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA);
- mi.pszName="&Test Plugin...";
- mi.pszService="TestPlug/MenuCommand";
- CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);*/
+ int clState;
HookEvent(ME_OPT_INITIALISE,OptInit);
@@ -266,27 +177,6 @@ int __declspec(dllexport) Load(PLUGINLINK *link)
clEnableState = DBGetContactSettingByte(NULL, "WindowStartPosition", "CLEnableState", 0);
clState = DBGetContactSettingByte(NULL, "WindowStartPosition", "CLState", 2);
- /*//Begin Mensaje
- mX = DBGetContactSettingDword(NULL, "WindowStartPosition", "MpercenX", dbERROR);//porcentaje mensaje respecto al centro
- mY = DBGetContactSettingDword(NULL, "WindowStartPosition", "MpercenY", dbERROR);//porcentaje mensaje respecto al centro
- mH = DBGetContactSettingDword(NULL, "WindowStartPosition", "MpercenH", dbERROR);//porcentaje alto respecto a workarea
- mW = DBGetContactSettingByte(NULL, "WindowStartPosition", "MpercenW", dbERROR);//porcentaje ancho respecto a workarea
- //End Mensaje*/
-
- //for debug
- //sprintf(s, "clTop:%i clBottom:%i clSide:%i clAlign:%i clUseLastWidth:%i clWidth:%i", clTop,clBottom,clSide,clAlign,clUseLastWidth,clWidth);
- //MessageBox(NULL, s,"Info",MB_OK);
-
- /*mX = 50;
- DBWriteContactSettingDword(NULL, "WindowStartPosition", "MpercenX", dbERROR);//porcentaje mensaje respecto al centro
- mY = 50;
- DBWriteContactSettingDword(NULL, "WindowStartPosition", "MpercenY", dbERROR);//porcentaje mensaje respecto al centro
- mH = 30;
- DBWriteContactSettingDword(NULL, "WindowStartPosition", "MpercenH", dbERROR);//porcentaje alto respecto a workarea
- mW = 30;
- DBWriteContactSettingDword(NULL, "WindowStartPosition", "MpercenW", dbERROR);//porcentaje ancho respecto a workarea
- */
-
if(clEnableState)
DBWriteContactSettingByte(NULL,"CList", "State", (BYTE)clState);
@@ -329,15 +219,10 @@ int __declspec(dllexport) Load(PLUGINLINK *link)
}
- //for debug
- //sprintf(s, "x:%i y:%i top:%i bottom:%i", x, y, WorkArea.top, WorkArea.bottom);
- //sprintf(s, "x:%i y:%i top:%i bottom:%i", x, y, WorkArea.top, WorkArea.bottom);
- //MessageBox(NULL, s,"Info",MB_OK);
-
return 0;
}
-int __declspec(dllexport) Unload(void)
+extern "C" __declspec(dllexport) int Unload(void)
{
return 0;
-} \ No newline at end of file
+} \ No newline at end of file
diff --git a/plugins/StartPosition/src/resource.h b/plugins/StartPosition/src/resource.h
new file mode 100644
index 0000000000..0b9dea9479
--- /dev/null
+++ b/plugins/StartPosition/src/resource.h
@@ -0,0 +1,30 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Developer Studio generated include file.
+// Used by resource.rc
+//
+#define IDD_OPTIONS 101
+#define IDC_CLTOP 1001
+#define IDC_CLBOTTOM 1002
+#define IDC_CLSIDE 1003
+#define IDC_CLWIDTH 1004
+#define IDC_CLALIGN1 1005
+#define IDC_CLALIGN2 1006
+#define IDC_CLTOPENABLE 1007
+#define IDC_CLSTATE0 1008
+#define IDC_CLBOTTOMENABLE 1009
+#define IDC_CLSIDEENABLE 1010
+#define IDC_CLWIDTHENABLE 1011
+#define IDC_CLSTATEENABLE 1012
+#define IDC_CLSTATE2 1013
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NO_MFC 1
+#define _APS_NEXT_RESOURCE_VALUE 102
+#define _APS_NEXT_COMMAND_VALUE 40018
+#define _APS_NEXT_CONTROL_VALUE 1014
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif