2016-09-12 01:21:14 +01:00
|
|
|
//
|
|
|
|
// Consts.h
|
2016-09-14 09:28:11 +01:00
|
|
|
// OverSight
|
2016-09-12 01:21:14 +01:00
|
|
|
//
|
|
|
|
// Created by Patrick Wardle on 7/7/16.
|
|
|
|
// Copyright (c) 2016 Objective-See. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2016-09-13 08:27:45 +01:00
|
|
|
#ifndef OS_Consts_h
|
|
|
|
#define OS_Consts_h
|
2016-09-12 01:21:14 +01:00
|
|
|
|
|
|
|
//success
|
|
|
|
#define STATUS_SUCCESS 0
|
|
|
|
|
|
|
|
//product url
|
2016-09-13 08:27:45 +01:00
|
|
|
#define PRODUCT_URL @"https://objective-see.com/products/oversight.html"
|
2016-09-12 01:21:14 +01:00
|
|
|
|
2016-09-13 08:27:45 +01:00
|
|
|
//product version url
|
|
|
|
//TODO: change back!
|
|
|
|
#define PRODUCT_VERSION_URL @"https://objective-see.com/products/versions/ransomwhere.json"
|
2016-09-12 01:21:14 +01:00
|
|
|
|
|
|
|
//frame shift
|
|
|
|
// ->for status msg to avoid activity indicator
|
|
|
|
#define FRAME_SHIFT 45
|
|
|
|
|
|
|
|
//hotkey 'w'
|
|
|
|
#define KEYCODE_W 0xD
|
|
|
|
|
|
|
|
//hotkey 'q'
|
|
|
|
#define KEYCODE_Q 0xC
|
|
|
|
|
|
|
|
//OS version x
|
|
|
|
#define OS_MAJOR_VERSION_X 10
|
|
|
|
|
|
|
|
//OS minor version yosemite
|
|
|
|
#define OS_MINOR_VERSION_YOSEMITE 10
|
|
|
|
|
|
|
|
//OS minor version el capitan
|
|
|
|
#define OS_MINOR_VERSION_EL_CAPITAN 11
|
|
|
|
|
|
|
|
//action to install
|
|
|
|
// ->also button title
|
|
|
|
#define ACTION_INSTALL @"Install"
|
|
|
|
|
|
|
|
//action to uninstall
|
|
|
|
// ->also button title
|
|
|
|
#define ACTION_UNINSTALL @"Uninstall"
|
|
|
|
|
|
|
|
//flag to uninstall
|
|
|
|
#define ACTION_UNINSTALL_FLAG 0
|
|
|
|
|
|
|
|
//flag to install
|
|
|
|
#define ACTION_INSTALL_FLAG 1
|
|
|
|
|
|
|
|
//error msg
|
|
|
|
#define KEY_ERROR_MSG @"errorMsg"
|
|
|
|
|
|
|
|
//sub msg
|
|
|
|
#define KEY_ERROR_SUB_MSG @"errorSubMsg"
|
|
|
|
|
|
|
|
//error URL
|
|
|
|
#define KEY_ERROR_URL @"errorURL"
|
|
|
|
|
|
|
|
//flag for error popup
|
|
|
|
#define KEY_ERROR_SHOULD_EXIT @"shouldExit"
|
|
|
|
|
|
|
|
//errors url
|
|
|
|
#define ERRORS_URL @"https://objective-see.com/errors.html"
|
|
|
|
|
|
|
|
//general error URL
|
|
|
|
#define FATAL_ERROR_URL @"https://objective-see.com/errors.html"
|
|
|
|
|
2016-09-13 08:27:45 +01:00
|
|
|
//log activity button
|
|
|
|
#define LOG_ACTIVITY @"logActivity"
|
|
|
|
|
|
|
|
//automatically check for updates button
|
|
|
|
#define CHECK_4_UPDATES @"check4Updates"
|
|
|
|
|
2016-09-12 01:21:14 +01:00
|
|
|
#endif
|