| 1 | /**************************************************************************
|
|---|
| 2 | * Copyright (C) 2004-2007 by Michael Medin <michael@medin.name> *
|
|---|
| 3 | * *
|
|---|
| 4 | * This code is part of NSClient++ - http://trac.nakednuns.org/nscp *
|
|---|
| 5 | * *
|
|---|
| 6 | * This program is free software; you can redistribute it and/or modify *
|
|---|
| 7 | * it under the terms of the GNU General Public License as published by *
|
|---|
| 8 | * the Free Software Foundation; either version 2 of the License, or *
|
|---|
| 9 | * (at your option) any later version. *
|
|---|
| 10 | * *
|
|---|
| 11 | * This program is distributed in the hope that it will be useful, *
|
|---|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|---|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|---|
| 14 | * GNU General Public License for more details. *
|
|---|
| 15 | * *
|
|---|
| 16 | * You should have received a copy of the GNU General Public License *
|
|---|
| 17 | * along with this program; if not, write to the *
|
|---|
| 18 | * Free Software Foundation, Inc., *
|
|---|
| 19 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
|---|
| 20 | ***************************************************************************/
|
|---|
| 21 |
|
|---|
| 22 | #pragma once
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|---|
| 26 | // Windows Header Files:
|
|---|
| 27 | //#include <windows.h>
|
|---|
| 28 |
|
|---|
| 29 | #include <string>
|
|---|
| 30 | #include <functional>
|
|---|
| 31 |
|
|---|
| 32 | #define _WIN32_DCOM
|
|---|
| 33 | #include <objbase.h>
|
|---|
| 34 |
|
|---|
| 35 | #include <common.hpp>
|
|---|
| 36 | #include <strEx.h>
|
|---|
| 37 | #include <NSCAPI.h>
|
|---|
| 38 | #include <nscapi/plugin.hpp>
|
|---|
| 39 | #include <nscapi/nscapi_plugin_wrapper.hpp>
|
|---|
| 40 | #include <checkHelpers.hpp>
|
|---|
| 41 | #include <filter_framework.hpp>
|
|---|
| 42 |
|
|---|
| 43 | #include <atlbase.h>
|
|---|
| 44 | //#include <atlcom.h>
|
|---|
| 45 | //#include <atlstr.h>
|
|---|
| 46 | #include <atlsafe.h>
|
|---|
| 47 |
|
|---|
| 48 | #ifdef MEMCHECK
|
|---|
| 49 | #include <vld.h>
|
|---|
| 50 | #endif
|
|---|