~ubuntu-branches/ubuntu/lucid/sword/lucid

« back to all changes in this revision

Viewing changes to bindings/corba/orbitcpp/swordorb-impl.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2010-01-21 00:10:17 UTC
  • mfrom: (1.1.4 upstream) (5.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100121001017-5ea19163rgisywbl
Tags: 1.6.1+dfsg-1
[ Jonathan Marsden ]
* debian/libsword8.examples: Add missing tcl eggdrop bot script.

[ Dmitrijs Ledkovs ]
* Drop shipping .la file in favour of pkg-config (Debian release goal)
  - More info http://lists.debian.org/debian-devel/2009/08/msg00783.html
* Drop backported patches, refreshed libver & compiler warnings.
* Compiling with -Werror enabled. 
* Bumped standards version to 3.8.3, no changes needed.
* Added debian/README.source documentation quilt usage
* Added configure option --without-internalregex

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
static const char *SWNULL = "<SWNULL>";
32
32
extern sword::RawText NULLMod;
33
33
 
 
34
 
34
35
//Inherit from abstract Skeleton:
35
36
class SWModule_impl : public POA_swordorb::SWModule {
36
37
        sword::SWModule *delegate;
59
60
        char *getRawEntry() throw(CORBA::SystemException) { return CORBA::string_dup((char *)delegate->getRawEntry()); }
60
61
        void  setRawEntry(const char *entryBuffer) throw(CORBA::SystemException) { delegate->setEntry(entryBuffer); }
61
62
        char *getConfigEntry(const char *key) throw(CORBA::SystemException) { return CORBA::string_dup(((char *)delegate->getConfigEntry(key)) ? (char *)delegate->getConfigEntry(key):SWNULL); }
62
 
        void deleteSearchFramework() throw(CORBA::SystemException) { return delegate->deleteSearchFramework(); }
 
63
        void deleteSearchFramework() throw(CORBA::SystemException) { delegate->deleteSearchFramework(); }
63
64
        CORBA::Boolean hasSearchFramework() throw(CORBA::SystemException) { return (delegate->hasSearchFramework() && delegate->isSearchOptimallySupported("God", -4, 0, 0)); }
64
65
 
65
66
};
66
67
 
 
68
// ----------------------------------------------------------------------------------
 
69
 
67
70
typedef std::map<std::string, SWModule_impl *> SWModuleMap;
68
71
 
 
72
// ----------------------------------------------------------------------------------
 
73
 
69
74
class SWMgr_impl : public POA_swordorb::SWMgr {
70
75
        WebMgr *delegate;
71
76
        SWModuleMap moduleImpls;
90
95
        void setDefaultLocale(const char *name) throw(CORBA::SystemException);
91
96
 
92
97
};
93
 
}; // namespace hellomodule
94
 
 
95
 
 
96
 
#endif //_ORBIT_CPP_IDL_helloworld_IMPL_HH
 
98
};
 
99
 
 
100
 
 
101
#endif