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

Revision 280, 969 bytes checked in by yasumichi, 15 years ago (diff)

first import

Line 
1/* $Id: rgvendorswindow.h,v 1.2 2002/11/10 14:03:32 mvogt Exp $ */
2#ifndef _rgvendorswindow_H
3#define _rgvendorswindow_H
4
5#include "rsources.h"
6#include "rgwindow.h"
7
8class RGVendorsEditor:RGWindow {
9   SourcesList & lst;
10
11   GtkWidget *dialog;
12   GtkWidget *lstVendors;
13   GtkWidget *entryVendor;
14   GtkWidget *entryDesc;
15   GtkWidget *entryFPrint;
16
17   int selectedrow;
18
19   GtkWidget *CreateWidget();
20
21   // static event handlers
22   static void DoAdd(GtkWidget *, gpointer);
23   static void DoEdit(GtkWidget *, gpointer);
24   static void DoRemove(GtkWidget *, gpointer);
25   static void DoOK(GtkWidget *, gpointer);
26   static void DoCancel(GtkWidget *, gpointer);
27   static void UpdateDisplay(GtkCList *, gint, gint, GdkEventButton *,
28                             gpointer);
29   static void UnselectRow(GtkCList *, gint, gint, GdkEventButton *, gpointer);
30
31 public:
32   RGVendorsEditor(RGWindow *parent, SourcesList &lst);
33   ~RGVendorsEditor();
34
35   void Run();
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.