/*
- * Copyright (C) 2005-2009 Atsushi Konno All rights reserved.
+ * Copyright (C) 2005-2011 Atsushi Konno All rights reserved.
* Copyright (C) 2005 QSDN,Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
CHXJ_SPEC_Hdml,
CHXJ_SPEC_Jhtml,
CHXJ_SPEC_Jxhtml, /* use XHTML */
+ CHXJ_SPEC_iPhone2, /* use XHTML */
+ CHXJ_SPEC_iPhone3, /* use XHTML */
+ CHXJ_SPEC_iPhone4, /* use XHTML */
+ CHXJ_SPEC_softbank_android, /* use XHTML (SoftBank) */
+ CHXJ_SPEC_au_android, /* use XHTML (au KDDI) */
+ CHXJ_SPEC_docomo_android, /* use XHTML (docomo) */
+ CHXJ_SPEC_android, /* use XHTML */
CHXJ_SPEC_HTML,
} spec_type;
#define CHXJ_PIC_OK (0x01)
#define CHXJ_PIC_NG (0x00)
+#define IS_IPHONE(X) (((X)->html_spec_type == CHXJ_SPEC_iPhone2) \
+ || ((X)->html_spec_type == CHXJ_SPEC_iPhone3) \
+ || ((X)->html_spec_type == CHXJ_SPEC_iPhone4))
+#define IS_ANDROID(X) ( ((X)->html_spec_type == CHXJ_SPEC_softbank_android) \
+ || ((X)->html_spec_type == CHXJ_SPEC_au_android) \
+ || ((X)->html_spec_type == CHXJ_SPEC_docomo_android) \
+ || ((X)->html_spec_type == CHXJ_SPEC_android))
+
#include "mod_chxj.h"
#include "chxj_cookie.h"