Skip to content

Instantly share code, notes, and snippets.

@confile
confile / gist:ed4a4b29ecbf8b24ace0
Created June 30, 2015 06:25
majestella-main settings.gradle
include ':majestella-base'
project(':majestella-base').projectDir = new File('../majestella-base')
@confile
confile / gist:bfadfdc00fc7ef85fd90
Created June 30, 2015 06:24
majestella-base build.gradle
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'com.github.j2objccontrib.j2objcgradle'
sourceCompatibility = 1.7
version = '1.0'
buildscript {
repositories {
mavenCentral()
@confile
confile / gist:594fb533a30166405e76
Created June 30, 2015 06:10
majestella-main build.gradle
apply plugin: 'java'
apply plugin: 'apt'
apply plugin: 'eclipse'
apply plugin: 'com.github.j2objccontrib.j2objcgradle'
sourceCompatibility = 1.7
version = '1.0'
eclipse {
classpath {
import Foundation
extension String
{
var length: Int {
get {
return countElements(self)
}
}
@confile
confile / gist:956ab282dc1b479610c6
Created June 12, 2015 21:34
CameraManagerImpl.m
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManagerImpl.java
//
#include "ActionSheet.h"
#include "ActionSheetCallback.h"
#include "ActionSheetOptions.h"
#include "BCamera.h"
#include "BCameraCallback.h"
@confile
confile / gist:b1f34103dbf12e52c740
Created June 12, 2015 21:33
CameraManagerImpl.h
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManagerImpl.java
//
#ifndef _CameraManagerImpl_H_
#define _CameraManagerImpl_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
@confile
confile / gist:fe32f7b6035660f72571
Created June 12, 2015 21:33
CameraManagerImpl.java
package buddyis.core.app.photoEditor.cameraManager;
import javax.inject.Inject;
import buddyis.core.app.photoEditor.events.PhotoCreatedEvent;
import buddyis.core.i18n.Message;
import buddyis.core.plugins.actionSheet.ActionSheet;
import buddyis.core.plugins.actionSheet.ActionSheetCallback;
import buddyis.core.plugins.actionSheet.ActionSheetOptions;
import buddyis.core.plugins.bcamera.BCamera;
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManager.java
//
#include "CameraManager.h"
#include "IOSClass.h"
#include "J2ObjC_source.h"
#include "java/lang/Enum.h"
#include "java/lang/IllegalArgumentException.h"
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/photoEditor/cameraManager/CameraManager.java
//
#ifndef _CameraManager_H_
#define _CameraManager_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
@confile
confile / gist:9673bed1d6f7746d2ab1
Created June 12, 2015 19:47
BPlaceManagerImpl.m
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/build/source/base/buddyis/core/prototype/navigation/BPlaceManagerImpl.java
//
#include "AbstractBEvent.h"
#include "BBackNavigationEvent.h"
#include "BEventBus.h"
#include "BHistoryUpdateEvent.h"
#include "BPlaceManagerImpl.h"