/* Copyright (c) 2001-2009 by SoftIntegration, Inc. All Rights Reserved */
/****** member functions of Class1 ******/

Class1::Class1(){
  void *fptr;
  fptr = dlsym(g_sample_dlhandle, "Class1_Class1_chdl");
  if(fptr == NULL)  {
    printf("Error: %s(): dlsym(): %s\n", __class_func__, _dlerror());
    return;
  }
  dlrunfun(fptr, NULL, NULL);
}

Class1::~Class1() {
  void *fptr;
  fptr = dlsym(g_sample_dlhandle, "Class1_dClass1_chdl");
  if(fptr == NULL)  {
     printf("Error: %s(): dlsym(): %s\n", __class_func__, dlerror());
     return;
  }

  dlrunfun(fptr, NULL, NULL, this);
  return;
}
