source: projects/synaptic/trunk/gtk/rgcdscanner.h @ 280

Revision 280, 1.4 KB checked in by yasumichi, 15 years ago (diff)

first import

Line 
1/* rgcdscanner.h - copy of the apt-cdrom.cc stuff for apt's without a library
2 *                 interface
3 *
4 * Copyright (c) 2000, 2001 Conectiva S/A
5 *
6 * Author: Alfredo K. Kojima <kojima@conectiva.com.br>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 * USA
22 */
23
24#ifndef RGCDSCANNER_H
25#define RGCDSCANNER_H
26
27#include <config.h>
28#ifndef HAVE_APTPKG_CDROM
29
30#include "rcdscanner.h"
31#include "rggladewindow.h"
32
33class RGMainWindow;
34
35class RGCDScanner:public RCDScanProgress, public RGWindow {
36 protected:
37
38   GtkWidget *_label;
39   GtkWidget *_pbar;
40
41   RUserDialog *_userDialog;
42
43 public:
44
45   RGCDScanner(RGMainWindow *main, RUserDialog *userDialog);
46   void update(string text, int current);
47   bool run();
48
49};
50
51#endif
52#endif
Note: See TracBrowser for help on using the repository browser.