~damien-moore/codeblocks/nightly

« back to all changes in this revision

Viewing changes to src/include/cbplugin.h

  • Committer: alpha0010
  • Date: 2014-03-12 19:46:24 UTC
  • Revision ID: svn-v4:2a5c6006-c6dd-42ca-98ab-0921f2732cef:trunk:9727
- cbCodeCompletionPlugin: remove dead code from interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
728
728
 
729
729
/** @brief Base class for code-completion plugins
730
730
  *
731
 
  * This interface is subject to change, so not much info here...
 
731
  * The main operations of a code-completion plugin are executed by CCManager
 
732
  * at the appropriate times. Smaller CC plugins *should* not have need to
 
733
  * register very many (if any) events/editor hooks.
732
734
  */
733
735
class PLUGIN_EXPORT cbCodeCompletionPlugin : public cbPlugin
734
736
{
735
737
    public:
736
738
        cbCodeCompletionPlugin();
737
 
#if 0
738
 
        virtual wxArrayString GetCallTips() = 0;
739
 
        virtual int CodeComplete() = 0;
740
 
        virtual void ShowCallTip() = 0;
741
 
        /** @brief Does this plugin handle code completion for the editor cb?
742
 
          *
743
 
          * A plugin should override this function to indicate whether it will
744
 
          * provide completion and call tips for the editor. The plugin should
745
 
          * then prepare to handle codecomplete and calltip menu messages if
746
 
          * it returns true. To implement this function, plugins will usually
747
 
          * check the mimetype of the file or the current lexer (highlight
748
 
          * language).
749
 
          *
750
 
          * Note: Currently the core CC plugin provides a default CodeCompletion
751
 
          * implementation for any file type that is not provided for by any
752
 
          * other CC plugins. The calltip and main menu options that can be handled
753
 
          * by any CC plugin is also supplied by the core CC plugin.
754
 
          *
755
 
          * @param cb The editor for which code completion
756
 
          * @return return true if the plugin handles completion for this editor,
757
 
          * false otherwise*/
758
 
        virtual bool IsProviderFor(cbEditor* cb) { (void) cb; return false; }  // purposely not marked 'cb_optional', override should use param
759
 
#endif // 0
760
739
 
761
 
        //---------------------------------------------------------------------//
762
740
        /** Level of functionality a CC plugin is able to provide. */
763
741
        enum CCProviderStatus
764
742
        {