Changeset [6b811a74301ed0b751481ea717f455a4855ce51e] by Jocelyn Legault
Revision 6b811a74301ed0b751481ea717f455a4855ce51e,
committed by Jocelyn Legault
· December 4th, 2009 @ 10:00 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/6b811a74301ed0b751481ea...
4 changed files
-
M
PowerEditor/src/Notepad_plus.cpp -
M
PowerEditor/src/Parameters.cpp -
M
PowerEditor/src/Parameters.h -
M
PowerEditor/src/winmain.cpp