File: will_load_url_cmd.e

package info (click to toggle)
egtk 0.3.6-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,984 kB
  • ctags: 5,256
  • sloc: ansic: 2,320; sh: 273; makefile: 234
file content (38 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
indexing
	description: ""
	author: "Andreas Leitner"
	license: "GPL"
class
   WILL_LOAD_URL_CMD
inherit
   GTK_COMMAND
      redefine
	 fetch_callback_arguments
      end
creation
	make
feature -- initialization
   make is
      do
      end
feature {NONE} -- implementation
   execute is
      do
	 print ("will load url: ")
	 print (url)
	 print ("%N")
      end
   
   fetch_callback_arguments (argc: INTEGER; argp: POINTER) is
	 -- redefine in descendant as needed depending on type of 
	 -- callback 
      do
	 -- FIXME: Make compiler independent
	 --	 !! url.from_external_copy (fetch_pointer (argp, 0))
	 --	 url := clone (url)
	 url := clone ("")
      end
   
   url: STRING

end