diff --git a/src/verbs.h b/src/verbs.h
index 521fdabaf5816df8aa70d40505bc015a047b22ce..f77085d7a3400827331c7ed96053e89960055668 100644 (file)
--- a/src/verbs.h
+++ b/src/verbs.h
SP_VERB_HELP_ABOUT_EXTENSIONS,
SP_VERB_HELP_MEMORY,
SP_VERB_HELP_ABOUT,
- SP_VERB_SHOW_LICENSE,
+ //SP_VERB_SHOW_LICENSE,
/* Tutorials */
SP_VERB_TUTORIAL_BASIC,
SP_VERB_TUTORIAL_SHAPES,
/* Effects */
SP_VERB_EFFECT_LAST,
SP_VERB_EFFECT_LAST_PREF,
+ /* Fit Canvas */
+ SP_VERB_FIT_CANVAS_TO_SELECTION,
+ SP_VERB_FIT_CANVAS_TO_DRAWING,
+ SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING,
/* Footer */
SP_VERB_LAST
};
void delete_view (Inkscape::UI::View::View * view);
void sensitive (SPDocument * in_doc = NULL, bool in_sensitive = true);
+
+// Yes, multiple public, protected and private sections are bad. We'll clean that up later
+protected:
+ /** \brief Returns the size of the internal base verb array.
+ \return The size in elements of the internal base array.
+
+ This is an inline function intended for testing. This should normally not be used.
+ For testing, a subclass that returns this value can be created to verify that the
+ length matches the enum values, etc.
+ */
+ static int _getBaseListSize() {return G_N_ELEMENTS(_base_verbs);}
+
}; /* Verb class */