#include "Foo.hh"
#include <string>
#include <iostream>

#define EXPORT __attribute__((visibility("default")))

EXPORT
int Foo::PrintFoo()
{
    std::cout << "This is in a C++ in a dynamically linked framework!" << std::endl;
    return 1;
} 


#include "Foo.hh"
#include <string>
#include <iostream>

#define EXPORT __attribute__((visibility("default")))

EXPORT
int Foo::PrintFoo()
{
#if __cplusplus
    std::cout << "C++ environment detected." << std::endl;
#endif
    std::cout << "Foo::PrintFoo() called." << std::endl;
    return 1;
} 


Add logging to show c++ environment.
Add logging to show c++ environment.
