Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

drop.c File Reference


Detailed Description

Drop support - no dragging, just dropping.

Author:
Christian Biere
Date:
2004

#include "gui.h"
#include "drop.h"
#include "statusbar.h"
#include "search.h"
#include "if/bridge/ui2c.h"
#include "if/core/downloads.h"
#include "if/core/guid.h"
#include "if/gui_property_priv.h"
#include "lib/glib-missing.h"
#include "lib/tm.h"
#include "lib/url.h"
#include "lib/urn.h"
#include "lib/override.h"

Data Structures

struct  magnet_download
struct  magnet_source

Enumerations

enum  magnet_key {
  MAGNET_KEY_NONE, MAGNET_KEY_DISPLAY_NAME, MAGNET_KEY_KEYWORD_TOPIC, MAGNET_KEY_EXACT_LENGTH,
  MAGNET_KEY_EXACT_SOURCE, MAGNET_KEY_EXACT_TOPIC, NUM_MAGNET_KEYS
}

Functions

 RCSID ("$Id:drop.c, v 1.22 2005/12/23 19:40:03 cbiere Exp $")
gboolean handle_not_implemented (gchar *url)
gboolean handle_magnet (gchar *url)
enum magnet_key magnet_key_get (const gchar *s)
void plus_to_space (gchar *s)
magnet_sourcemagnet_parse_exact_source (const gchar *q, const struct magnet_download *dl)
void drag_data_received (GtkWidget *unused_widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *data, guint info, guint stamp, gpointer unused_udata)
void drop_init (void)
void drop_close (void)

Variables

struct {
   const char *const    proto
   gboolean(*   handler )(gchar *url)
proto_handlers []
struct {
   const char *const    key
   const enum magnet_key   id
magnet_keys []


Enumeration Type Documentation

enum magnet_key
 

Enumeration values:
MAGNET_KEY_NONE 
MAGNET_KEY_DISPLAY_NAME 
MAGNET_KEY_KEYWORD_TOPIC 
MAGNET_KEY_EXACT_LENGTH 
MAGNET_KEY_EXACT_SOURCE 
MAGNET_KEY_EXACT_TOPIC 
NUM_MAGNET_KEYS 


Function Documentation

void drag_data_received GtkWidget *  unused_widget,
GdkDragContext *  dc,
gint  x,
gint  y,
GtkSelectionData *  data,
guint  info,
guint  stamp,
gpointer  unused_udata
[static]
 

void drop_close void   ) 
 

void drop_init void   ) 
 

gboolean handle_magnet gchar *  url  )  [static]
 

gboolean handle_not_implemented gchar *  url  )  [static]
 

enum magnet_key magnet_key_get const gchar *  s  )  [static]
 

struct magnet_source* magnet_parse_exact_source const gchar *  q,
const struct magnet_download dl
[static]
 

void plus_to_space gchar *  s  )  [static]
 

RCSID "$Id:drop.  c,
v 1.22 2005/12/23 19:40:03 cbiere Exp $" 
 


Variable Documentation

gboolean(* handler)(gchar *url)
 

const enum magnet_key id
 

const char* const key
 

const { ... } magnet_keys[] [static]
 

const char* const proto
 

const { ... } proto_handlers[] [static]
 


Generated on Sun Feb 12 10:50:00 2006 for Gtk-Gnutella by doxygen 1.3.6