2002-11-04 18:57:47 +00:00
|
|
|
// The contents of this file are subject to the Mozilla Public License
|
|
|
|
// Version 1.0 (the "License"); you may not use this file except in
|
|
|
|
// compliance with the License. You may obtain a copy of the License at
|
|
|
|
// http://www.mozilla.org/MPL/
|
|
|
|
//
|
|
|
|
// Software distributed under the License is distributed on an "AS IS"
|
|
|
|
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
|
|
// License for the specific language governing rights and limitations
|
|
|
|
// under the License.
|
|
|
|
//
|
|
|
|
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
|
|
|
|
//
|
|
|
|
// The Initial Developer of the Original Code is the SETI@home project.
|
|
|
|
// Portions created by the SETI@home project are Copyright (C) 2002
|
|
|
|
// University of California at Berkeley. All Rights Reserved.
|
|
|
|
//
|
|
|
|
// Contributor(s):
|
|
|
|
//
|
|
|
|
|
2002-10-06 01:14:37 +00:00
|
|
|
#ifndef __WINGUI_H_
|
|
|
|
#define __WINGUI_H_
|
|
|
|
|
|
|
|
// includes
|
|
|
|
|
|
|
|
#include <afxwin.h>
|
2002-10-05 23:10:46 +00:00
|
|
|
#include <afxcmn.h>
|
|
|
|
#include <afxtempl.h>
|
|
|
|
#include <afxcoll.h>
|
2002-11-04 18:57:47 +00:00
|
|
|
#include <afxext.h>
|
|
|
|
#include <math.h>
|
2002-12-11 23:10:51 +00:00
|
|
|
#include "graphics_api.h"
|
|
|
|
#include "file_names.h"
|
2002-11-04 18:57:47 +00:00
|
|
|
#include "filesys.h"
|
2002-10-06 01:14:37 +00:00
|
|
|
#include "log_flags.h"
|
|
|
|
#include "client_state.h"
|
|
|
|
#include "account.h"
|
2003-02-04 21:47:12 +00:00
|
|
|
#include "error_numbers.h"
|
2002-10-06 01:14:37 +00:00
|
|
|
#include "resource.h"
|
2002-12-18 20:24:56 +00:00
|
|
|
#include "util.h"
|
2002-10-06 01:14:37 +00:00
|
|
|
#include "win_net.h"
|
2002-12-18 20:24:56 +00:00
|
|
|
#include "win_util.h"
|
2002-10-06 01:14:37 +00:00
|
|
|
|
2002-12-18 20:24:56 +00:00
|
|
|
// functions
|
2002-10-06 01:14:37 +00:00
|
|
|
|
2002-12-19 22:43:38 +00:00
|
|
|
int add_new_project();
|
2002-12-18 20:24:56 +00:00
|
|
|
void GetByteString(double nbytes, CString* str);
|
|
|
|
BOOL RequestNetConnect();
|
2003-02-25 00:25:07 +00:00
|
|
|
BOOL CALLBACK EnumWindowsProc(HWND, LPARAM);
|
|
|
|
CWnd* GetWndFromProcId(DWORD);
|
2002-11-04 18:57:47 +00:00
|
|
|
|
2002-12-19 22:43:38 +00:00
|
|
|
#endif
|