// Path: library/src/main/java/com/smartnsoft/droid4me/app/AppPublics.java
// public interface BroadcastListener
// {
// 
//   /**
//    * This method will be invoked by the framework to determine what {@link IntentFilter} should be associated to the current listener.
//    * <p>
//    * <p>
//    * The returned value of the method will be used to invoke the {@link Context#registerReceiver(android.content.BroadcastReceiver, IntentFilter)}
//    * method. If this method is annotated with {@link AppPublics.UseNativeBroadcast}, the implementation will use the {@link LocalBroadcastManager}
//    * implementation.
//    * </p>
//    *
//    * @return if not {@code null}, only the {@link Intent intents} that match with this returned value, will be received by the activity
//    * @see #onReceive(Intent)
//    */
//   IntentFilter getIntentFilter();
// 
//   /**
//    * Is invoked every time an intent that matches is received by the underlying activity.
//    *
//    * @param intent the broadcast {@link Intent} which has been received, and which matches the declared {@link IntentFilter}
//    * @see #getIntentFilter()
//    */
//   void onReceive(Intent intent);
// 
// }


import android.os.Handler;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import com.smartnsoft.droid4me.app.AppPublics.BroadcastListener;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.DialogFragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;

  /**
   * Smartable implementation.
   */

  public AggregateClass getAggregate()
  {
    return droid4mizer.getAggregate();
  }

  public void setAggregate(AggregateClass aggregate)
  {
    droid4mizer.setAggregate(aggregate);
  }

  public Handler getHandler()
  {
    return droid4mizer.getHandler();
  }

  public SharedPreferences getPreferences()
  {
    return droid4mizer.getPreferences();
  }

  public void onException(Throwable throwable, boolean fromGuiThread)
  {
    droid4mizer.onException(throwable, fromGuiThread);
  }

// Path: library/src/main/java/com/smartnsoft/droid4me/app/AppPublics.java
// public interface BroadcastListener
// {
// 
//   /**
//    * This method will be invoked by the framework to determine what {@link IntentFilter} should be associated to the current listener.
//    * <p>
//    * <p>
//    * The returned value of the method will be used to invoke the {@link Context#registerReceiver(android.content.BroadcastReceiver, IntentFilter)}
//    * method. If this method is annotated with {@link AppPublics.UseNativeBroadcast}, the implementation will use the {@link LocalBroadcastManager}
//    * implementation.
//    * </p>
//    *
//    * @return if not {@code null}, only the {@link Intent intents} that match with this returned value, will be received by the activity
//    * @see #onReceive(Intent)
//    */
//   IntentFilter getIntentFilter();
// 
//   /**
//    * Is invoked every time an intent that matches is received by the underlying activity.
//    *
//    * @param intent the broadcast {@link Intent} which has been received, and which matches the declared {@link IntentFilter}
//    * @see #getIntentFilter()
//    */
//   void onReceive(Intent intent);
// 
// }


// Path: library/src/main/java/com/smartnsoft/droid4me/app/SmartDialogFragment.java
import android.os.Handler;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import com.smartnsoft.droid4me.app.AppPublics.BroadcastListener;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.DialogFragment;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Build.VERSION_CODES;
import android.os.Bundle;


  /**
   * Smartable implementation.
   */

  public AggregateClass getAggregate()
  {
    return droid4mizer.getAggregate();
  }

  public void setAggregate(AggregateClass aggregate)
  {
    droid4mizer.setAggregate(aggregate);
  }

  public Handler getHandler()
  {
    return droid4mizer.getHandler();
  }

  public SharedPreferences getPreferences()
  {
    return droid4mizer.getPreferences();
  }

  public void onException(Throwable throwable, boolean fromGuiThread)
  {
    droid4mizer.onException(throwable, fromGuiThread);
  }

  public void registerBroadcastListeners(BroadcastListener[] broadcastListeners)