From f41f2ee922d1a653fbe64913dcc209a23758774e Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 16 Dec 2014 10:13:48 +0100 Subject: add a way to easily get at the type of a facade handy for debug if nothing else --- common/clientapi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/clientapi.h b/common/clientapi.h index 2188123..fe60d9c 100644 --- a/common/clientapi.h +++ b/common/clientapi.h @@ -271,6 +271,7 @@ template class StoreFacade { public: virtual ~StoreFacade(){}; + QString type() const { return Domain::getTypeName(); } virtual void create(const DomainType &domainObject) = 0; virtual void modify(const DomainType &domainObject) = 0; virtual void remove(const DomainType &domainObject) = 0; -- cgit v1.2.3