Removing unwanted .h and .cpp files from C++ stack.
authorSashi Penta <sashi.kumar.penta@intel.com>
Tue, 9 Sep 2014 20:09:51 +0000 (13:09 -0700)
committerSashi Penta <sashi.kumar.penta@intel.com>
Tue, 9 Sep 2014 20:09:51 +0000 (13:09 -0700)
Change-Id: Ib130b2c6849b4b13683229fcf0811ad246dccd9a

include/OCObject.h [deleted file]
include/OCObserver.h [deleted file]
include/OCObserverHandler.h [deleted file]
include/OCResourceHandler.h [deleted file]
src/OCObject.cpp [deleted file]
src/OCObserver.cpp [deleted file]

diff --git a/include/OCObject.h b/include/OCObject.h
deleted file mode 100644 (file)
index cf5423a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-/// @file OCObject.h 
-
-/// @brief     This file contains the declaration of classes and its members related to 
-///                    OCObject.
-
-#ifndef __OCOBJECT_H
-#define __OCOBJECT_H
-
-namespace OC 
-{
-       /**
-       * @brief        The OCObject is the root abstract class from which many of the OC related objects derive from.
-       *                       It implements a common set of functionality supported by all the OC classes in the 
-       *                       SDK such as object naming, ID, natural sort order and comparison. 
-       */
-       class OCObject
-       {
-       public:
-               OCObject(void);
-               
-               virtual ~OCObject(void);
-               
-               /**
-               * @fn   Determines if the resource should be listed in the well-known core list.
-               * 
-               * NOTE: This may be better handled at a different location.
-               * 
-               * @return Returns true if resource should be listed.
-               */
-               virtual bool isVisible() = 0;
-       };
-}
-
-#endif //__OCOBJECT_H
-
diff --git a/include/OCObserver.h b/include/OCObserver.h
deleted file mode 100644 (file)
index efe6a2f..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-/// @file OCObserver.h 
-
-/// @brief     This file contains the declaration of classes and its members related to 
-///                    OCObserver.
-
-#ifndef __OCOBSERVER_H
-#define __OCOBSERVER_H
-
-#include <string>
-
-#include "OCObserver.h"
-
-namespace OC 
-{
-       /* It allows an app to register a method handler to monitor for 
-       state changes on a resource. Not all resource attributes are observable. 
-       */
-       class OCObserver
-       {
-       public:
-               OCObserver(void);
-
-               virtual ~OCObserver(void);
-       };
-
-       /* It is likely that these signatures will change somewhat: */
-       template <typename HandlerT, typename ResourceT>
-       void bind_observer(HandlerT handler, ResourceT& resource, const std::string& name)
-       {};
-
-       // unbind the specified handler:
-       template <typename HandlerT, typename ResourceT>
-       void unbind_observer(HandlerT handler, ResourceT& resource)
-       {};
-
-       // unbind by name:
-       template <typename HandlerT, typename ResourceT>
-       void unbind_observer(HandlerT handler, ResourceT& resource, const std::string& name)
-       {};
-
-} // namespace OC
-
-#endif //__OCOBSERVER_H
diff --git a/include/OCObserverHandler.h b/include/OCObserverHandler.h
deleted file mode 100644 (file)
index 77f7362..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-/// @file OCObserverHandler.h 
-
-/// @brief     This file contains the declaration of classes and its members related to 
-///                    ObserverHandler.
-
-#ifndef __OCOBSERVERHANDLER_H
-#define __OCOBSERVERHANDLER_H
-
-#include "OCApi.h"
-
-namespace OC
-{
-       /**
-       * @brief        OCObserverHandler is a pure abstract class and it can be used for 
-       *                       observer related callbacks
-       */
-
-       class OCObserverHandler
-       {
-       public:
-               virtual ~OCObserverHandler(void)
-               {}
-
-               /**
-               * @fn   This function is called when the property gets updated
-               * 
-               * @param propertyName name of the property
-               * @param value value of the property
-               */
-               virtual void onObserverUpdate(std::string propertyName, void *value) = 0;
-       };
-
-}
-#endif //__OCOBSERVERHANDLER_H
diff --git a/include/OCResourceHandler.h b/include/OCResourceHandler.h
deleted file mode 100644 (file)
index c8303e1..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-/// @file OCResourceHandler.h 
-
-/// @brief     This file contains the declaration of classes and its members related to 
-///                    ResourceHandler.
-
-#ifndef _OCRESOURCEHANDLER_H
-#define _OCRESOURCEHANDLER_H
-
-#include "ocapi.h"
-#include "OCResource.h"
-
-namespace OC 
-{
-       /**
-       * @brief        OCResourceHandler is a pure abstract class and it can be used for 
-       *                       resource related callbacks
-       */
-       class OCResourceHandler
-       {
-       public:
-               virtual ~OCResourceHandler(void){}
-               /**
-               * @fn   This function is called when it finds the resource
-               * 
-               * @param update resource result information
-               * @param params reserved
-               */
-               virtual void onFoundResource(OCResourceResult *update, void *params) = 0;
-               /**
-               * @fn   This function is called when the find is completed
-               * 
-               * @param propertyName name of the property
-               * @param value value of the property
-               */
-               virtual void onCompleted() = 0;
-               /**
-               * @fn   This function is called when the find is failed
-               * 
-               */
-               virtual void onFailed() = 0;
-
-       };
-}
-#endif //_OCRESOURCEHANDLER_H
-
diff --git a/src/OCObject.cpp b/src/OCObject.cpp
deleted file mode 100644 (file)
index 5d074e1..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-#include "OCObject.h"
-
-namespace OC {
-       OCObject::OCObject(void)
-       {
-       }
-
-
-       OCObject::~OCObject(void)
-       {
-       }
-}
diff --git a/src/OCObserver.cpp b/src/OCObserver.cpp
deleted file mode 100644 (file)
index fd646a1..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-//******************************************************************
-//
-// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-#include "OCObserver.h"
-
-namespace OC {
-       OCObserver::OCObserver(void)
-       {
-       }
-
-
-       OCObserver::~OCObserver(void)
-       {
-       }
-}
\ No newline at end of file