]>
cygwin.com Git - cygwin-apps/setup.git/blob - site.h
2 * Copyright (c) 2001, Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
19 /* required to parse this file */
27 class SitePage
:public PropertyPage
39 virtual void OnInit ();
40 virtual void OnActivate ();
41 virtual long OnNext ();
42 virtual long OnBack ();
43 virtual long OnUnattended ();
45 virtual bool OnMessageCmd (int id
, HWND hwndctl
, UINT code
);
47 void PopulateListBox();
48 void CheckControlsAndDisableAccordingly () const;
51 void do_download_site_info (HINSTANCE h
, HWND owner
);
56 site_list_type ():url (), displayed_url (), key()
59 site_list_type (site_list_type
const &);
60 site_list_type (String
const &);
61 /* workaround for missing placement new in gcc 2.95 */
62 void init (String
const &);
63 ~site_list_type () {};
64 site_list_type
&operator= (site_list_type
const &);
68 bool operator == (site_list_type
const &) const;
69 bool operator != (site_list_type
const &) const;
70 bool operator < (site_list_type
const &) const;
71 bool operator <= (site_list_type
const &) const;
72 bool operator > (site_list_type
const &) const;
73 bool operator >= (site_list_type
const &) const;
76 typedef vector
<site_list_type
> SiteList
;
78 /* user chosen sites */
79 extern SiteList site_list
;
81 extern SiteList all_site_list
;
83 void save_site_url ();
This page took 0.041616 seconds and 6 git commands to generate.