Changeset [b3014bc5379b45a6f1531db86b191b07f398ef35] by Jocelyn Legault
Revision b3014bc5379b45a6f1531db86b191b07f398ef35,
committed by Jocelyn Legault
· December 5th, 2009 @ 07:14 PM
NppParameters: make it a true singleton.
- The object is now created at the first request, and no longer as a global.
- The
destroyInstance()method is now static (as thegetInstance()is). - Non-static data that was destroyed in the
destroyInstance()method is now destroyed in the destructor.
[#26 state:needs_ack responsible:npp-community]
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
http://github.com/joce/npp-community/commit/b3014bc5379b45a6f1531db...
4 changed files
-
M
PowerEditor/src/Notepad_plus.cpp -
M
PowerEditor/src/Parameters.cpp -
M
PowerEditor/src/Parameters.h -
M
PowerEditor/src/winmain.cpp