Commit b365defb authored by Jody Goldberg's avatar Jody Goldberg

Add missing files

parent d6271c90
#ifndef GNUMERIC_HLINK_IMPL_H
#define GNUMERIC_HLINK_IMPL_H
#include "hlink.h"
#define GNM_HLINK_TYPE (command_context_get_type ())
#define GNM_HLINK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_HLINK_TYPE, GnmHLink))
#define GNM_IS_HLINK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_HLINK_TYPE))
GType command_context_get_type (void);
/*
* These are the exceptions that can arise.
* NOTE : The selection is quite limited by IDL's intentional non-support for
* inheritance (single or multiple).
*/
void gnumeric_error_system (CommandContext *cc, char const *msg);
void gnumeric_error_read (CommandContext *cc, char const *msg);
void gnumeric_error_save (CommandContext *cc, char const *msg);
void gnumeric_error_plugin (CommandContext *cc, char const *msg);
void gnumeric_error_invalid (CommandContext *cc, char const *msg,
char const *val);
void gnumeric_error_splits_array (CommandContext *cc, char const *cmd,
Range const *array);
void gnumeric_error_error_info (CommandContext *cc, ErrorInfo *error);
void gnumeric_progress_set (CommandContext *cc, gfloat f);
void gnumeric_progress_message_set (CommandContext *cc, char const *msg);
char *cmd_context_get_password (CommandContext *cc, char const *msg);
/* Push a printf template to the list. The template is used to provide
* context for error messages. E.g.: "Could not read file: %s". */
void command_context_pop_err_template (CommandContext *context);
void command_context_push_err_template (CommandContext *context,
char const *template_str);
#endif /* GNUMERIC_COMMAND_CONTEXT_H */
/* vim: set sw=8: */
/*
* hlink.c: hyperlink support
*
* Copyright (C) 2000-2002 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
#include <gnumeric-config.h>
#include "gnumeric.h"
#include "hlink.h"
#include "hlink-impl.h"
#include <gsf/gsf-impl-utils.h>
/**
* gnm_hlink_activate :
* @link :
*
* Return TRUE if the link successfully activated.
**/
gboolean
gnm_hlink_activate (GnmHLink *link)
{
g_return_val_if_fail (GNM_IS_HLINK (link), FALSE);
return FALSE;
}
GnmHLink *
sheet_hlink_find (Sheet const *sheet, CellPos const *pos)
{
return NULL;
}
/*
GType gnm_hlink_url_type ();
GType gnm_hlink_gnumeric_type ();
GType gnm_hlink_newbook_type ();
GType gnm_hlink_email_type ();
* Use this for hyperlinks gnome_url_show (url);
*/
#ifndef GNUMERIC_HLINK_H
#define GNUMERIC_HLINK_H
#include "gnumeric.h"
#include <glib-object.h>
GType gnm_hlink_url_type ();
GType gnm_hlink_gnumeric_type ();
GType gnm_hlink_newbook_type ();
GType gnm_hlink_email_type ();
gboolean gnm_hlink_activate (GnmHLink *link);
GnmHLink *sheet_hlink_find (Sheet const *sheet, CellPos const *pos);
#endif /* GNUMERIC_HLINK_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment