action.cpp revision cf9d357e8558ba533df29b7339ab879886a95062
/** \file
* SPAction implementation
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2003 Lauris Kaplinski
*
* This code is in public domain
*/
#include <string.h>
#include "debug/timestamp.h"
#include "debug/simple-event.h"
#include "debug/event-tracker.h"
#include "document.h"
static GObjectClass *parent_class;
/**
* Register SPAction class and return its type.
*/
sp_action_get_type (void)
{
if (!type) {
sizeof(SPActionClass),
sizeof(SPAction),
0,
};
}
return type;
}
/**
* SPAction vtable initialization.
*/
static void
{
}
/**
* Callback for SPAction object initialization.
*/
static void
{
}
/**
* Called before SPAction object destruction.
*/
static void
{
}
/**
* Create new SPAction object and set its properties.
*/
SPAction *
{
return action;
}
namespace {
class ActionEvent : public ActionEventBase {
public:
{
if (document) {
}
}
}
};
}
/**
\return None
\brief Executes an action
\param action The action to be executed
\param data ignored
*/
void
{
}
/**
* Change activation in all actions that can be taken with the action.
*/
void
{
}
/**
* Change sensitivity in all actions that can be taken with the action.
*/
void
{
}
void
{
}
/**
* Return View associated with the action.
*/
{
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :