From: <kev...@us...> - 2003-05-25 13:48:30
|
Update of /cvsroot/bidwatcher/bidwatcher In directory sc8-pr-cvs1:/tmp/cvs-serv17375 Modified Files: bidwatcher.h Log Message: Just some minor formatting changes. Index: bidwatcher.h =================================================================== RCS file: /cvsroot/bidwatcher/bidwatcher/bidwatcher.h,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- bidwatcher.h 25 May 2003 06:10:10 -0000 1.68 +++ bidwatcher.h 25 May 2003 13:48:25 -0000 1.69 @@ -123,44 +123,44 @@ // Stucture to store auction information // struct auctioninfo { - unsigned long int ItemNumber; /* Item Number (User Entered) */ - char Description[129]; /* Description Of Item For sale */ - char Comments[COMMENT_LENGTH];/* User-defined comments */ - char currency[10]; /* Bid Currency for the auction */ - float CurrentBid; /* Current Bid */ - float FirstBid; /* First (or starting) Bid */ - int Quantity; /* Quantity of Items For Sale */ - int BidCount; /* Total Number of Bids */ - char TimeLeft[51]; /* Time Left in Auction */ - char Location[101]; /* Location of Item */ - char Started[51]; /* Time when Auction Started */ - char Ends[51]; /* Time/Data Auction Ends */ - char Seller[76]; /* User Selling the Item */ - char HighBidder[76]; /* Current High Bidder */ - char BidInc[15]; /* Minimum Bid Increment */ - char SellerRate[15]; /* Seller's eBay rating */ - char BidderRate[15]; /* Bidder's eBay rating */ - float snipeAmount; /* Our snipe amount */ - int snipeQty; /* Our snipe dutch quantity */ - char snipeKey[100]; /* Snipe key for this auction */ - float myBidAmount; /* Our bid */ - int myBidQuantity; /* Our bid quantity for dutch */ - long int EndsValue; /* time auction ends in seconds */ - char stat; /* status of auction for GUI */ - char bidstatus; /* final status of bid/snipe */ - char reserveMet; /* [y/n/x] = Status of reserve */ - bool isSnipe; /* Is this a snipe or not? */ - int AuctionType; /* Type: ebay/ebaymotors/etc. */ - URL *infourl; /* URL for auction info */ - URL *bidurl; /* URL for bidding/sniping */ - int magic; /* Used to detect corrupt lists */ - int bid(bool); + unsigned long int ItemNumber; /* Item Number (User Entered) */ + char Description[129]; /* Description Of Item For sale */ + char Comments[COMMENT_LENGTH];/* User-defined comments */ + char currency[10]; /* Bid Currency for the auction */ + float CurrentBid; /* Current Bid */ + float FirstBid; /* First (or starting) Bid */ + int Quantity; /* Quantity of Items For Sale */ + int BidCount; /* Total Number of Bids */ + char TimeLeft[51]; /* Time Left in Auction */ + char Location[101]; /* Location of Item */ + char Started[51]; /* Time when Auction Started */ + char Ends[51]; /* Time/Data Auction Ends */ + char Seller[76]; /* User Selling the Item */ + char HighBidder[76]; /* Current High Bidder */ + char BidInc[15]; /* Minimum Bid Increment */ + char SellerRate[15]; /* Seller's eBay rating */ + char BidderRate[15]; /* Bidder's eBay rating */ + float snipeAmount; /* Our snipe amount */ + int snipeQty; /* Our snipe dutch quantity */ + char snipeKey[100]; /* Snipe key for this auction */ + float myBidAmount; /* Our bid */ + int myBidQuantity; /* Our bid quantity for dutch */ + long int EndsValue; /* time auction ends in seconds */ + char stat; /* status of auction for GUI */ + char bidstatus; /* final status of bid/snipe */ + char reserveMet; /* [y/n/x] = Status of reserve */ + bool isSnipe; /* Is this a snipe or not? */ + int AuctionType; /* Type: ebay/ebaymotors/etc. */ + URL *infourl; /* URL for auction info */ + URL *bidurl; /* URL for bidding/sniping */ + int magic; /* Used to detect corrupt lists */ + int bid(bool); - auctioninfo(); - ~auctioninfo(); - int getinfo(); - bool parseaucinfo(const char *); - void getkey(float bid, int quantity); + auctioninfo(); + ~auctioninfo(); + int getinfo(); + bool parseaucinfo(const char *); + void getkey(float bid, int quantity); }; typedef char string30[30]; @@ -266,9 +266,9 @@ GtkWidget *window, *hbox, *textbuffer, *scrollbar, *monthbutton, *monthlabel, *okbutton; -EndedWindow(char snipes,char current); - void update(); - ~EndedWindow(); + EndedWindow(char snipes,char current); + void update(); + ~EndedWindow(); }; class AboutWindow { @@ -290,50 +290,52 @@ class ConfigWindow { public: - GtkWidget *window; - GtkWidget *notebook, *bookbox[NUM_CONFIG_TABS], *tab_label[NUM_CONFIG_TABS]; - GtkWidget *useridbox, *passwordbox, *browserbox, *emailbox, *proxybox; - GtkWidget *useridlabel,*useridtext,*passwordlabel,*passwordtext, - *browserlabel,*browsertext,*mailclientlabel,*mailclienttext, - *proxylabel,*proxytext, *listingcheck, *bidcheck, *startupcheck, - *deletecheck, *snipebox, *snipespin, *snipelabel, *okbutton, - *cancelbutton, *label_security, *radio_sec_low, *radio_sec_medium, - *radio_sec_high, *security_box, *location_check, *size_check, - *user_frame, *sys_frame, *toggle_frame, *usertable, *systable, - *toggletable; + GtkWidget *window; + GtkWidget *notebook, *bookbox[NUM_CONFIG_TABS], + *tab_label[NUM_CONFIG_TABS]; + GtkWidget *useridbox, *passwordbox, *browserbox, *emailbox, *proxybox; + GtkWidget *useridlabel,*useridtext,*passwordlabel,*passwordtext, + *browserlabel,*browsertext,*mailclientlabel,*mailclienttext, + *proxylabel,*proxytext, *listingcheck, *bidcheck, + *startupcheck, *deletecheck, *snipebox, *snipespin, + *snipelabel, *okbutton, *cancelbutton, *label_security, + *radio_sec_low, *radio_sec_medium, *radio_sec_high, + *security_box, *location_check, *size_check, *user_frame, + *sys_frame, *toggle_frame, *usertable, *systable, + *toggletable; - GtkObject *snipeadj; + GtkObject *snipeadj; - GtkWidget *update_prio1_spin, *update_prio1_label, *update_prio1_box; - GtkWidget *update_prio2_spin, *update_prio2_label, *update_prio2_box; - GtkWidget *update_prio3_spin, *update_prio3_label, *update_prio3_box; - GtkWidget *update_prio4_spin, *update_prio4_label, *update_prio4_box; - GtkObject *update_prio1_adj, *update_prio2_adj, *update_prio3_adj, *update_prio4_adj; + GtkWidget *update_prio1_spin, *update_prio1_label, *update_prio1_box; + GtkWidget *update_prio2_spin, *update_prio2_label, *update_prio2_box; + GtkWidget *update_prio3_spin, *update_prio3_label, *update_prio3_box; + GtkWidget *update_prio4_spin, *update_prio4_label, *update_prio4_box; + GtkObject *update_prio1_adj, *update_prio2_adj, *update_prio3_adj, *update_prio4_adj; - GtkWidget *colorseldlg; - GtkWidget *color_ended_box, *color_ended_label; + GtkWidget *colorseldlg; + GtkWidget *color_ended_box, *color_ended_label; - bool listing, bid, startup, del, location, size; + bool listing, bid, startup, del, location, size; - GtkStyle *color_button_style; - GtkWidget *color_button; + GtkStyle *color_button_style; + GtkWidget *color_button; - ConfigWindow(); - ~ConfigWindow(); + ConfigWindow(); + ~ConfigWindow(); }; class ErrorWindow { public: -GtkWidget *window,*messagelabel, *okbutton; -ErrorWindow(char *message); -~ErrorWindow(); + GtkWidget *window,*messagelabel, *okbutton; + ErrorWindow(char *message); + ~ErrorWindow(); }; class ConfirmWindow { public: -GtkWidget *window,*messagelabel, *okbutton, *cancelbutton; -ConfirmWindow(char *message); -~ConfirmWindow(); + GtkWidget *window,*messagelabel, *okbutton, *cancelbutton; + ConfirmWindow(char *message); + ~ConfirmWindow(); }; @@ -430,5 +432,3 @@ #define SEC_LOW 0 // Write everything to file, keep in memory #define SEC_MED 1 // Write user to file, keep in memory #define SEC_HIGH 2 // Write nothing to file, keep nothing in memory - - |