OSDN Git Service

[VM][STATE] Apply new state framework to some devices a lot (excepts some devices...
[csp-qt/common_source_project-fm7.git] / source / src / vm / smb80te / smb80te.cpp
index c28c605..aad2f0a 100644 (file)
@@ -312,10 +312,12 @@ void VM::update_config()
 #define STATE_VERSION  3
 
 #include "../../statesub.h"
+#include "../../qt/gui/csp_logger.h"
+extern CSP_Logger DLL_PREFIX_I *csp_logger;
 
 void VM::decl_state(void)
 {
-       state_entry = new csp_state_utils(STATE_VERSION, 0, (_TCHAR *)(_T("CSP::SM_B_80TE_HEAD")));
+       state_entry = new csp_state_utils(STATE_VERSION, 0, (_TCHAR *)(_T("CSP::SM_B_80TE_HEAD")), csp_logger);
        for(DEVICE* device = first_device; device; device = device->next_device) {
                device->decl_state();
        }