/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #if 1 #if !defined(_WIN32) #include typedef uint16_t uint16; typedef int16_t int16; typedef uint32_t uint32; typedef int32_t int32; typedef uint64_t uint64; typedef int64_t int64; typedef uint32 ULONG; typedef uint32 DWORD; typedef void* HANDLE; typedef void* HWND; typedef void* HMODULE; typedef unsigned char BYTE; typedef uint64 UINT64; typedef int32 LONG; typedef float FLOAT; typedef int HRESULT; typedef wchar_t WCHAR; typedef const char* LPCSTR; typedef char* LPSTR; typedef const void* LPCVOID; typedef void* LPVOID; typedef struct _FILETIME { DWORD dwLowDateTime; DWORD dwHighDateTime; } FILETIME, *PFILETIME; #define _MAX_PATH 260 #define WINAPI #endif // DH Stuff: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // QT // Warning 4512: Assignment operator could not be generated - disabled because QT forgets to make a private assignment operator // when they want to prohibit copy. they don't forget every time, just a few times, but that's enough to cause spam. #pragma warning(push) #pragma warning(disable : 4512) #pragma warning(disable : 4189) #pragma warning(disable : 4718) // warning C4718: 'QMapNode::destroySubTree' : recursive call has no side effects, deleting #pragma warning(disable : 4127) // conditional expression is constant in QVector and QMap #include #include #include #include #include #include #include #pragma warning(pop) #endif namespace LuaIDEMetrics { namespace Category { static const char* EventName = "LuaIDE"; } static const char* Operation = "Operation"; namespace Events { static const char* OpenEditor = "OpenEditor"; static const char* CloseEditor = "CloseEditor"; static const char* FileCreated = "FileCreated"; static const char* FileOpened = "FileOpened"; static const char* FileSaved = "FileSaved"; static const char* StartDebugger = "StartDebugger"; static const char* StopDebugger = "StopDebugger"; static const char* DebuggerRefused = "DebuggerRefused"; static const char* TargetConnected = "TargetConnected"; static const char* TargetDisconnected = "TargetDisconnected"; static const char* BreakpointHit = "BreakpointHit"; } }